PXC_BackgroundType Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 9: Line 9:
 
<pre class="brush:cpp;gutter:false">enum PXC_BackgroundType
 
<pre class="brush:cpp;gutter:false">enum PXC_BackgroundType
 
{
 
{
     Background_Color = 0;
+
     Background_Color = 0,
     Background_Image = 1;
+
     Background_Image = 1,
     Background_PDF  = 2;
+
     Background_PDF  = 2,
 
};
 
};
 
</pre>
 
</pre>

Revision as of 11:05, 8 May 2015


Specifies the flags for the background type which should be used.

Syntax

enum PXC_BackgroundType
{
    Background_Color = 0,
    Background_Image = 1,
    Background_PDF   = 2,
};

Constants

Background_Color
The background will take it's data from the Fill Color specified in the IPXC_BackgroundParams.
Background_Image
The background will take it's data from the Background File specified in the IPXC_BackgroundParams. Note that the specified file path should point to the existing valid image file.
Background_PDF
The background will take it's data from the Background File specified in the IPXC_BackgroundParams. Note that the specified file path should point to the existing valid PDF file.

See Also

IPXC_BackgroundParams