PXC_WatermarkFlags Enumeration
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 9: | Line 9: | ||
<pre class="brush:cpp;gutter:false">enum PXC_WatermarkFlags | <pre class="brush:cpp;gutter:false">enum PXC_WatermarkFlags | ||
{ | { | ||
− | WatermarkFlag_Default = 0 | + | WatermarkFlag_Default = 0, |
− | WatermarkFlag_OffsetsInPercent = 1 | + | WatermarkFlag_OffsetsInPercent = 1, |
− | WatermarkFlag_PlaceOnBackground = 2 | + | WatermarkFlag_PlaceOnBackground = 2, |
− | WatermarkFlag_ScaleToPage = 4 | + | WatermarkFlag_ScaleToPage = 4, |
− | WatermarkFlag_ImageKeepAspect = 8 | + | WatermarkFlag_ImageKeepAspect = 8, |
− | WatermarkFlag_InvisibleOnView = 256 | + | WatermarkFlag_InvisibleOnView = 256, |
− | WatermarkFlag_InvisibleOnPrint = 512 | + | WatermarkFlag_InvisibleOnPrint = 512, |
− | WatermarkFlag_InvisibleOnExport = 1024 | + | WatermarkFlag_InvisibleOnExport = 1024, |
}; | }; | ||
</pre> | </pre> |
Revision as of 10:08, 8 May 2015
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.