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, wpTopRightTop edge of the page, aligned left, centred or right
wpMiddleLeft, wpCenter, wpMiddleRightVertical middle of the page, aligned left, centred or right
wpBottomLeft, wpBottomCenter, wpBottomRightBottom edge of the page, aligned left, centred or right
wpCustomUses the watermark X and Y coordinates as-is

See also

TPDFlibWatermarkBase, TPDFlibTextWatermark, TPDFlibImageWatermark, TPDFlibShapeWatermark