Watermark on printed PDF document
Inheritance Hierarchy
PdfPrintingNetPdfWatermark
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The PdfWatermark type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfWatermark |
Constructor. Creates PdfWatermark object with default values.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
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