The PdfWatermark type exposes the following members.
Properties
Name | Description | |
---|---|---|
Image |
If set, it will draw image at X,Y at angle of RotationAngle property.
| |
IsSet |
Returns true or false - based on that if Image or Text for watermark is set.
| |
Opacity |
Opacity value in percentage - 0 is invisible and at 100 isn't transparent at all.
| |
PrintWatermark |
If true, this watermark will be printed if a PDF with it is printed. Default is true.
| |
RotationAngle |
Rotation angle of watermark.
| |
Text |
Is set, it will draw text at X,Y at angle of RotationAngle propery.
| |
TextColor |
Color of watermark text.
| |
TextFont |
Watermark text font used for drawing value of Text property.
| |
UseRelativeCoordinates |
If set to true than X and Y are in percentage of paper size.
| |
UseRelativeImageSize |
If set to true than image size is relative to 100% page size.
Exampple: if defined image size is 120 x 120 than for 50% page size displayed image size will be 60 x 60.
Default is false.
| |
UseRelativeTextSize |
If set to true than text size is relative to 100% page size.
Exampple: if defined font size is 12 than for 50% page size displayed font size will be 6.
Default is false.
| |
X |
Absolute or relative X position. It is related with UseRelativeCoordinates.
| |
Y |
Absolute or relative Y position. It is related with UseRelativeCoordinates.
|
See Also