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

text
The text to apply as watermark.
contentAlignment
The alignment of the watermark with respect to the source image.
Initializes a new instance of the TextWatermark class and sets the Text and the ContentAlignment

Syntax

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

Parameters

text
The text 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.