PDFSETTINGS
typedef struct _tagPdfSettings
{
L_UINT32 uStructSize;
L_BOOL bCrossrefs;
DOC2_HEADERFOOTERSETTING HFSetng;
L_BOOL bNeedTaggedInfo;
L_BOOL bPDFThumbnail;
DOC2_DPISETTING DpiSetng;
L_BOOL bPDFForms;
L_BOOL bShowBackgroundImage;
L_BOOL bShowText;
L_BOOL bRuleLines;
L_BOOL bShowSubstitutes;
L_BOOL bURLBackgroundDef;
L_BOOL bURLHighlight;
L_BOOL bLinearized;
} PDFSETTINGS, * pPDFSETTINGS;
The PDFSETTINGS structure provides information about settings for the DOC2_PDF output format.
Member |
Description |
|
uStructSize |
Structure size. It should be equal to sizeof(PDFSETTINGS ). |
|
bCrossrefs |
Specifies whether to retain cross-references. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Retain cross-references. |
|
FALSE |
Do not retain cross-references. |
HFSetng |
Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING. |
|
bNeedTaggedInfo |
Specifies whether to create a tagged PDF file. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Create a tagged PDF file. |
|
FALSE |
Do not create a tagged PDF file. |
bPDFThumbnail |
Specifies whether to create thumbnails. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Create thumbnails. |
|
FALSE |
Do not create thumbnails. |
DpiSetng |
Specifies the DPI setting. For a list of possible values, refer to DOC2_DPISETTING. |
|
bPDFForms |
Specifies whether to display the form layer. . Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Display the form layer |
|
FALSE |
Do not display the form layer |
bShowBackgroundImage |
Specifies whether to display the background image layer. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Display the background image layer. |
|
FALSE |
Do not display the background image layer. |
bShowText |
Specifies whether to display the text. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Display the text. |
|
FALSE |
Do not display the text. |
bRuleLines |
Specifies whether to insert line breaks. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Insert line breaks. |
|
FALSE |
Do not insert line breaks. |
bShowSubstitutes |
Specifies whether to cover suspect words with small images. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Cover suspect words with small images. |
|
FALSE |
Do not cover suspect words with small images. |
bURLBackgroundDef |
Specifies whether to display the default background color for any URLs. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Display the default background color for any URLs. |
|
FALSE |
Do not display the default background color for any URLs. |
bURLHighlight |
Specifies whether to highlight URLs. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Highlight URLs. |
|
FALSE |
Do not highlight URLs. |
bLinearized |
Specifies whether to generate linearized PDF files. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Generate linearized PDF File. |
|
FALSE |
Do not generate linearized PDF File. |
Comments
pPDFSETTINGS is a pointer to a PDFSETTINGS structure. If the function parameter type is pPDFSETTINGS, declare a PDFSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPDFSETTINGS variable is necessary only if the program requires a pointer.
This structure is used with the following functions: