A set of parameters for adding a watermark annotation to the output PDF file.
Creates a new watermark annotation object with default parameters. |
Watermark text color (default value is black). | |
Watermark text font (default value is kTimesRoman). | |
The type name of a particular TTF font to use in case when the watermark text font name equals the kSystemTTFFont value. | |
Watermark text font size (default value is 48). | |
A watermark image height in millimeters. | |
A path to an image file to use for the watermark. If an image is used as a watermark, the watermark text is not displayed. | |
A watermark image width in millimeters. | |
An offset from the watermark position in millimeters. | |
The level of the watermark's opacity (in percents from 0 to 100; the default value is 50). | |
The index of the page that contains the watermark (default value is -1: add watermark on every page). | |
Watermark text direction (default value is kLeftToRight). | |
The rotation angle in radians (counterclockwise). | |
The fit to page flag. The flag determines whether the watermark is scaled to fit the page. Font size is recalculated (default value is false). | |
Watermark text. If image is used as watermark, text is not used |
Enumerates fonts, which can be used in a watermark annotation. | |
Enumerates available positions for the watermark annotation. |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|