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

image
The Image object to apply as watermark.
contentAlignment
The alignment of the watermark with respect to the source image.
Initializes a new instance of the ImageWatermark class; the Image is not disposed after the watermark has been applied; the specified ContentAlignment is used.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal image As Image, _
   ByVal contentAlignment As ContentAlignment _
)
C#  
public ImageWatermark( 
   Image image,
   ContentAlignment contentAlignment
)

Parameters

image
The Image object to apply as watermark.
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.