CodeCarvings.Piczard
ImageWatermark Constructor(String,ContentAlignment)
See Also  Send Feedback
CodeCarvings.Piczard.Filters.Watermarks Namespace > ImageWatermark Class > ImageWatermark Constructor : ImageWatermark Constructor(String,ContentAlignment)

imageFilePath
The path of the file containing the watermark image to load and apply.
contentAlignment
The alignment of the watermark with respect to the source image.
Initializes a new instance of the ImageWatermark class; the Image is loaded from the file system when the watermark is applied (and then automatically disposed); the specified ContentAlignment is used.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal imageFilePath As String, _
   ByVal contentAlignment As ContentAlignment _
)
C#  
public ImageWatermark( 
   string imageFilePath,
   ContentAlignment contentAlignment
)

Parameters

imageFilePath
The path of the file containing the watermark image to load and apply.
contentAlignment
The alignment of the watermark with respect to the source image.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.