PdfWatermark ClassTerminal Works - PDF Printing.Net Library
Watermark on printed PDF document
Inheritance Hierarchy

SystemObject
  PdfPrintingNetPdfWatermark

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public class PdfWatermark

The PdfWatermark type exposes the following members.

Constructors

  NameDescription
Public methodPdfWatermark
Constructor. Creates PdfWatermark object with default values.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyImage
If set, it will draw image at X,Y at angle of RotationAngle property.
Public propertyIsSet
Returns true or false - based on that if Image or Text for watermark is set.
Public propertyOpacity
Opacity value in percentage - 0 is invisible and at 100 isn't transparent at all.
Public propertyPrintWatermark
If true, this watermark will be printed if a PDF with it is printed. Default is true.
Public propertyRotationAngle
Rotation angle of watermark.
Public propertyText
Is set, it will draw text at X,Y at angle of RotationAngle propery.
Public propertyTextColor
Color of watermark text.
Public propertyTextFont
Watermark text font used for drawing value of Text property.
Public propertyUseRelativeCoordinates
If set to true than X and Y are in percentage of paper size.
Public propertyUseRelativeImageSize
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.
Public propertyUseRelativeTextSize
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.
Public propertyX
Absolute or relative X position. It is related with UseRelativeCoordinates.
Public propertyY
Absolute or relative Y position. It is related with UseRelativeCoordinates.
Top
See Also

Reference