Click or drag to resize

CPDFImageWatermark Methods

The CPDFImageWatermark type exposes the following members.

Methods
  NameDescription
Public methodClearWatermark
Removes watermark.
(Inherited from CPDFWatermark.)
Public methodCreateWatermark
Creates watermark.
(Inherited from CPDFWatermark.)
Public methodIsValid
Whether object is valid, false means the object resource is released, you cannot use the object to call any method.
(Inherited from CPDFWatermark.)
Public methodRelease
Releases Watermark object resource.
(Inherited from CPDFWatermark.)
Public methodSetFontName
Sets font of text watermark.
(Inherited from CPDFWatermark.)
Public methodSetFontSize
Sets font size of text watermark.
(Inherited from CPDFWatermark.)
Public methodSetFront
Sets watermark layer. True means watermark is in front of text, false means behind text.
(Inherited from CPDFWatermark.)
Public methodSetFullScreen
Sets tiled watermark.
(Inherited from CPDFWatermark.)
Public methodSetHorizalign
Sets horizontal alignment,more:C_Watermark_Horizalign
(Inherited from CPDFWatermark.)
Public methodSetHorizOffset
Sets horizontal deviation.
(Inherited from CPDFWatermark.)
Public methodSetHorizontalSpacing
Sets the horizontal spacing for the tiled watermark.
(Inherited from CPDFWatermark.)
Public methodSetImage(Byte, Int32, Int32)
Sets image watermark with Bitmap by pixel.
(Inherited from CPDFWatermark.)
Public methodSetImage(String, String, Int32, Int32) (Inherited from CPDFWatermark.)
Public methodSetOpacity
Sets opacity.
(Inherited from CPDFWatermark.)
Public methodSetPages
Sets page range of watermark. Page range, such as:1,2,3 or 1-3
(Inherited from CPDFWatermark.)
Public methodSetRotation
Sets rotation angle.
(Inherited from CPDFWatermark.)
Public methodSetScale
Sets zoom level.
(Inherited from CPDFWatermark.)
Public methodSetText
Sets content of text watermark.
(Inherited from CPDFWatermark.)
Public methodSetTextRGBColor
Sets font color of text watermark.
(Inherited from CPDFWatermark.)
Public methodSetVertalign
Sets vertical alignment,more:C_Watermark_Vertalign
(Inherited from CPDFWatermark.)
Public methodSetVerticalSpacing
Sets vertical spacing for the tiled watermark.
(Inherited from CPDFWatermark.)
Public methodSetVertOffset
Sets vertical deviation.
(Inherited from CPDFWatermark.)
Public methodUpdateWatermark
Updates watermark.
(Inherited from CPDFWatermark.)
Top
See Also