THPDFWatermarkHorizPos Type

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

Declaration

THPDFWatermarkHorizPos= (hpLeft, hpCenter, hpRight, hpCustom);

Unit

HPDFDoc

Values

ValuePurpose
hpLeftPlacement preset that recomputes X from the page MediaBox so the watermark lines up at the left edge
hpCenterPlacement preset that recomputes X from the page MediaBox so the watermark sits centred horizontally
hpRightPlacement preset that recomputes X from the page MediaBox so the watermark lines up at the right edge
hpCustomKeeps the literal X coordinate exactly as the caller supplied it; this is the THPDFWatermarkBase.Default setting

Usage notes

Related APIs