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

imageFileBytes

The byte array 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 byte array when the watermark is applied (and then automatically disposed); the specified ContentAlignment is used.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal imageFileBytes() As Byte, _
   ByVal contentAlignment As ContentAlignment _
)
C#  
public ImageWatermark( 
   byte[] imageFileBytes,
   ContentAlignment contentAlignment
)

Parameters

imageFileBytes

The byte array 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.