THPDFWatermarkVertPos Type

Selects a vertical watermark placement preset or coordinates supplied by the caller

Declaration

THPDFWatermarkVertPos= (vpTop, vpMiddle, vpBottom, vpCustom);

Unit

HPDFDoc

Values

ValuePurpose
vpTopPlacement preset that recomputes Y from the page MediaBox so the watermark sits near the top edge
vpMiddlePlacement preset that recomputes Y from the page MediaBox so the watermark sits centred vertically
vpBottomPlacement preset that recomputes Y from the page MediaBox so the watermark sits near the bottom edge
vpCustomKeeps the literal Y coordinate exactly as the caller supplied it; this is the THPDFWatermarkBase.Default setting

Usage notes

Related APIs