PXC_WatermarkFlags Enumeration
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:PXC_WatermarkFlags Enumeration}} | {{#customTitle:PXC_WatermarkFlags Enumeration}} | ||
+ | {{#parentPage:PXV:PXC_Enumerations|PXC_WatermarkFlags|enum}} | ||
+ | {{ToReview}} | ||
− | Specifies the | + | Specifies the flags for the [[PXV:IPXC_WatermarkParams|IPXC_WatermarkParams]]. |
== Syntax == | == Syntax == | ||
<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> | ||
Line 20: | Line 23: | ||
== Constants == | == Constants == | ||
;WatermarkFlag_Default | ;WatermarkFlag_Default | ||
− | :The | + | :The default values will be used. |
;WatermarkFlag_OffsetsInPercent | ;WatermarkFlag_OffsetsInPercent | ||
− | :The | + | :The offset values will be interpreted as percents. |
;WatermarkFlag_PlaceOnBackground | ;WatermarkFlag_PlaceOnBackground | ||
− | :The | + | :The watermark will be placed on background meaning that it will be drawn before the pages content. |
;WatermarkFlag_ScaleToPage | ;WatermarkFlag_ScaleToPage | ||
− | :The | + | :The scaling value will be counted based on the page proportions. |
;WatermarkFlag_ImageKeepAspect | ;WatermarkFlag_ImageKeepAspect | ||
− | :The | + | :The aspect ratio will be kept when placing the watermark on the page. |
;WatermarkFlag_InvisibleOnView | ;WatermarkFlag_InvisibleOnView | ||
− | :The | + | :The watermark will be invisible on the pages view. |
;WatermarkFlag_InvisibleOnPrint | ;WatermarkFlag_InvisibleOnPrint | ||
− | :The | + | :The watermark will be invisible when printing document. |
;WatermarkFlag_InvisibleOnExport | ;WatermarkFlag_InvisibleOnExport | ||
− | :The | + | :The watermark will be invisible when exporting document. |
== See Also == | == See Also == | ||
− | + | [[PXV:IPXC_WatermarkParams|IPXC_WatermarkParams]] |
Latest revision as of 09:39, 23 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.