TPDFlibWatermarkPosition
Data types
Description
TPDFlibWatermarkPosition lists the placement presets that TPDFlibWatermarkBase resolves against each page size before a watermark is drawn
The nine grid points centre a watermark whose extent is computed from the watermark itself, while wpCustom uses the raw X and Y fields as the absolute top-left corner
Syntax
Delphi
TPDFlibWatermarkPosition = (wpTopLeft, wpTopCenter, wpTopRight,
wpMiddleLeft, wpCenter, wpMiddleRight,
wpBottomLeft, wpBottomCenter, wpBottomRight, wpCustom);Values
| wpTopLeft, wpTopCenter, wpTopRight | Top edge of the page, aligned left, centred or right |
|---|---|
| wpMiddleLeft, wpCenter, wpMiddleRight | Vertical middle of the page, aligned left, centred or right |
| wpBottomLeft, wpBottomCenter, wpBottomRight | Bottom edge of the page, aligned left, centred or right |
| wpCustom | Uses the watermark X and Y coordinates as-is |
See also
TPDFlibWatermarkBase, TPDFlibTextWatermark, TPDFlibImageWatermark, TPDFlibShapeWatermark