CPDFWatermark Methods |
The CPDFWatermark type exposes the following members.
| Name | Description | |
|---|---|---|
| ClearWatermark |
Removes watermark.
| |
| CreateWatermark |
Creates watermark.
| |
| IsValid |
Whether object is valid, false means the object resource is released, you cannot use the object to call any method.
| |
| Release |
Releases Watermark object resource.
| |
| SetFontName |
Sets font of text watermark.
| |
| SetFontSize |
Sets font size of text watermark.
| |
| SetFront |
Sets watermark layer. True means watermark is in front of text, false means behind text.
| |
| SetFullScreen |
Sets tiled watermark.
| |
| SetHorizalign |
Sets horizontal alignment,more:C_Watermark_Horizalign | |
| SetHorizOffset |
Sets horizontal deviation.
| |
| SetHorizontalSpacing |
Sets the horizontal spacing for the tiled watermark.
| |
| SetImage(Byte, Int32, Int32) |
Sets image watermark with Bitmap by pixel.
| |
| SetImage(String, String, Int32, Int32) | ||
| SetOpacity |
Sets opacity.
| |
| SetPages |
Sets page range of watermark. Page range, such as:1,2,3 or 1-3
| |
| SetRotation |
Sets rotation angle.
| |
| SetScale |
Sets zoom level.
| |
| SetText |
Sets content of text watermark.
| |
| SetTextRGBColor |
Sets font color of text watermark.
| |
| SetVertalign |
Sets vertical alignment,more:C_Watermark_Vertalign | |
| SetVerticalSpacing |
Sets vertical spacing for the tiled watermark.
| |
| SetVertOffset |
Sets vertical deviation.
| |
| UpdateWatermark |
Updates watermark.
|