PXC_WatermarkFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search


Specifies the flags for the IPXC_WatermarkParams.

Syntax

enum PXC_WatermarkFlags
{
    WatermarkFlag_Default           = 0,
    WatermarkFlag_OffsetsInPercent  = 1,
    WatermarkFlag_PlaceOnBackground = 2,
    WatermarkFlag_ScaleToPage       = 4,
    WatermarkFlag_ImageKeepAspect   = 8,
    WatermarkFlag_InvisibleOnView   = 256,
    WatermarkFlag_InvisibleOnPrint  = 512,
    WatermarkFlag_InvisibleOnExport = 1024,
};

Constants

WatermarkFlag_Default
The default values will be used.
WatermarkFlag_OffsetsInPercent
The offset values will be interpreted as percents.
WatermarkFlag_PlaceOnBackground
The watermark will be placed on background meaning that it will be drawn before the pages content.
WatermarkFlag_ScaleToPage
The scaling value will be counted based on the page proportions.
WatermarkFlag_ImageKeepAspect
The aspect ratio will be kept when placing the watermark on the page.
WatermarkFlag_InvisibleOnView
The watermark will be invisible on the pages view.
WatermarkFlag_InvisibleOnPrint
The watermark will be invisible when printing document.
WatermarkFlag_InvisibleOnExport
The watermark will be invisible when exporting document.

See Also

IPXC_WatermarkParams