Foxit PDF SDK
foxit.addon.compliance.PreflightSettingData Class Reference

Inherits SystemIDisposable.

Public Types

enum  LibraryType { LibraryType.e_LibraryTypeFoxit = 0, LibraryType.e_LibraryTypePDFStandards = 1, LibraryType.e_LibraryTypePrepressColorTransparency = 2 }
 Enumeration for the preflight library type. More...
 
enum  OperateType { OperateType.e_OperateTypeProfiles = 0, OperateType.e_OperateTypeSingleChecks = 1, OperateType.e_OperateTypeSingleFixups = 2 }
 Enumeration for the preflight operate type. More...
 

Public Member Functions

 PreflightSettingData ()
 Constructor.
 
 PreflightSettingData (string preflight_key, PreflightSettingData.OperateType operate_type, string src_pdf_path, string saved_pdf_path, int first_page_index, int last_page_index)
 Constructor, with parameters. More...
 

Properties

int first_page_index [get, set]
 Index of the first page to be analyzed or fixed, staring from 0. Default value: 0.
 
int last_page_index [get, set]
 Index of the last page to be verified. If this is -1, that means all the pages of the source PDF file will be analyze and parameter first_page_index would be ignored. Default value: -1.
 
PreflightSettingData.OperateType operate_type [get, set]
 The preflight operate type. Please refer to values starting from foxit.addon.compliance.PreflightSettingData.OperateType.e_OperateTypeProfiles and this should be one of these values.
 
string preflight_key [get, set]
 The preflight key. It can be retrieved by Preflight.GetItemKeysArray .
 
string saved_pdf_path [get, set]
 A complete path for saving the analyze and fix PDF file. Only use to analyze and fix.
 
string src_pdf_path [get, set]
 A complete path of source PDF file to be analyze and fix.
 

Detailed Description

This class represents setting data used for preflight analyze and fixup.

Member Enumeration Documentation

◆ LibraryType

Enumeration for the preflight library type.

Values of this enumeration should be used alone.

Enumerator
e_LibraryTypeFoxit 

Preflight library type: Foxit.

e_LibraryTypePDFStandards 

Preflight library type: Standards.

e_LibraryTypePrepressColorTransparency 

Preflight library type: Prepress,Color and Transparency.

◆ OperateType

Enumeration for the preflight operate type.

Values of this enumeration should be used alone.

Enumerator
e_OperateTypeProfiles 

Opearte type: profiles.

e_OperateTypeSingleChecks 

Opearte type: single checks.

e_OperateTypeSingleFixups 

Opearte type: single fixups.

Constructor & Destructor Documentation

◆ PreflightSettingData()

foxit.addon.compliance.PreflightSettingData.PreflightSettingData ( string  preflight_key,
PreflightSettingData.OperateType  operate_type,
string  src_pdf_path,
string  saved_pdf_path,
int  first_page_index,
int  last_page_index 
)
inline

Constructor, with parameters.

Parameters
[in]preflight_keyThe preflight key. It can be retrieved by Preflight.GetItemKeysArray .
[in]operate_typeThe preflight operate type. Please refer to values starting from foxit.addon.compliance.PreflightSettingData.OperateType.e_OperateTypeProfiles and this should be one of these values.
[in]src_pdf_pathA complete path of source PDF file to be analyzed or fixed. This should not be an empty string.
[in]saved_pdf_pathA complete path for saving pdf file after anylazing and fixing. This should not be an empty string.
[in]first_page_indexIndex of the first page to be analyzed or fixed, staring from 0. Default value: 0.
[in]last_page_indexIndex of the last page to be analyzed or fixed. If this is -1, that means all the pages of the source PDF file will be analyzed or fixed and parameter first_page_index would be ignored. Default value: -1.
Returns
None.