Foxit PDF SDK
|
Inherits FoxitPDFSDKPython3._object.
Public Member Functions | |
def | DWG2PDFSettingData () |
Constructor, with parameters. | |
Static Public Attributes | |
e_DWG2PDFExportHatchesTypeBitmap = _fsdk.DWG2PDFSettingData_e_DWG2PDFExportHatchesTypeBitmap | |
Hatches export type: Exports hatch as a bitmap. | |
e_DWG2PDFExportHatchesTypeDrawing = _fsdk.DWG2PDFSettingData_e_DWG2PDFExportHatchesTypeDrawing | |
Hatches export type: Exports hatch as a set of triangles (vectorizer). | |
e_DWG2PDFExportHatchesTypePdfPaths = _fsdk.DWG2PDFSettingData_e_DWG2PDFExportHatchesTypePdfPaths | |
Hatches export type: Exports hatch as a PDF path (solid hatches only). | |
e_DWG2PDFExportHatchesTypePolygons = _fsdk.DWG2PDFSettingData_e_DWG2PDFExportHatchesTypePolygons | |
Hatches export type: Exports hatch as a polygon (solid hatches only). | |
e_DWG2PDFSearchableTextTypeNoSearch = _fsdk.DWG2PDFSettingData_e_DWG2PDFSearchableTextTypeNoSearch | |
Searchable text type: No searchable text. | |
e_DWG2PDFSearchableTextTypeSHX = _fsdk.DWG2PDFSettingData_e_DWG2PDFSearchableTextTypeSHX | |
Searchable text type: Only text displayed with SHX font is searchable. | |
e_DWG2PDFSearchableTextTypeTTF = _fsdk.DWG2PDFSettingData_e_DWG2PDFSearchableTextTypeTTF | |
Searchable text type: Only text displayed with TTF font is searchable. | |
e_FlagASCIIHexEncoding = _fsdk.DWG2PDFSettingData_e_FlagASCIIHexEncoding | |
Bit 10. Enable ASCIIHex encoding of internal PDF streams. | |
e_FlagEmbededOptimizedTTF = _fsdk.DWG2PDFSettingData_e_FlagEmbededOptimizedTTF | |
Bit 7. Enable embedding of TTF font program to PDF file. The TTF font will be reduced by removing unused parts (smaller PDF file size, but limited editing). | |
e_FlagEmbededTTF = _fsdk.DWG2PDFSettingData_e_FlagEmbededTTF | |
Bit 1. Enable embedding of TTF(True Type Font) program to PDF file. The whole TTF font file will be embedded (huge PDF size). | |
e_FlagEnableLayers = _fsdk.DWG2PDFSettingData_e_FlagEnableLayers | |
Bit 5. If enabled, layer support will be added to PDF file (1.5 version required). | |
e_FlagExportHyperlinks = _fsdk.DWG2PDFSettingData_e_FlagExportHyperlinks | |
Bit 11. Enable hyperlinks export. | |
e_FlagFlateCompression = _fsdk.DWG2PDFSettingData_e_FlagFlateCompression | |
Bit 9. Enable compression of internal PDF streams. | |
e_FlagIncludeOffLayers = _fsdk.DWG2PDFSettingData_e_FlagIncludeOffLayers | |
Bit 6. If enabled, invisible layers will be added to PDF file (1.5 version required). | |
e_FlagLinearized = _fsdk.DWG2PDFSettingData_e_FlagLinearized | |
Bit 13. Create linearized PDF file. | |
e_FlagMeasuring = _fsdk.DWG2PDFSettingData_e_FlagMeasuring | |
Bit 15. Enable measuring scale in pdf. | |
e_FlagSHXTextAsGeometry = _fsdk.DWG2PDFSettingData_e_FlagSHXTextAsGeometry | |
Bit 3. Enable SHX font text to geometry conversion. | |
e_FlagSimpleGeomOptimization = _fsdk.DWG2PDFSettingData_e_FlagSimpleGeomOptimization | |
Bit 4. Enable simple geometry optimization (separated segments to one polyline, Bezier curve control points). | |
e_FlagTTFTextAsGeometry = _fsdk.DWG2PDFSettingData_e_FlagTTFTextAsGeometry | |
Bit 2. Enable TTF font text to geometry conversion. | |
e_FlagUseHLR = _fsdk.DWG2PDFSettingData_e_FlagUseHLR | |
Bit 8. Determines whether software uses vector hidden-line removal for corresponding viewports. | |
e_FlagZoomToExtentsMode = _fsdk.DWG2PDFSettingData_e_FlagZoomToExtentsMode | |
Bit 12. If enabled, layout geometry will be zoomed to paper size, else layout settings will be applied. More... | |
export_flags = _swig_property(_fsdk.DWG2PDFSettingData_export_flags_get, _fsdk.DWG2PDFSettingData_export_flags_set) | |
The export flags used for the converted PDF document. Please refer to values starting from FoxitPDFSDKPython3.DWG2PDFSettingData.e_FlagEmbededTTF and this can be one or a combination of these values It could also be 0, which means all bits in the flag are 0. | |
export_hatches_type = _swig_property(_fsdk.DWG2PDFSettingData_export_hatches_type_get, _fsdk.DWG2PDFSettingData_export_hatches_type_set) | |
The type of solid hatches export. More... | |
gradient_export_hatches_type = _swig_property(_fsdk.DWG2PDFSettingData_gradient_export_hatches_type_get, _fsdk.DWG2PDFSettingData_gradient_export_hatches_type_set) | |
The type of gradient hatches export. More... | |
is_active_layout = _swig_property(_fsdk.DWG2PDFSettingData_is_active_layout_get, _fsdk.DWG2PDFSettingData_is_active_layout_set) | |
true means to export the active layout only, while false means not. | |
other_export_hatches_type = _swig_property(_fsdk.DWG2PDFSettingData_other_export_hatches_type_get, _fsdk.DWG2PDFSettingData_other_export_hatches_type_set) | |
The type of other (non-solid) hatches export. More... | |
output_author = _swig_property(_fsdk.DWG2PDFSettingData_output_author_get, _fsdk.DWG2PDFSettingData_output_author_set) | |
The author for the output PDF document, an empty string will be used as default. | |
output_creator = _swig_property(_fsdk.DWG2PDFSettingData_output_creator_get, _fsdk.DWG2PDFSettingData_output_creator_set) | |
The creator for the output PDF document, an empty string will be used as default. | |
output_keywords = _swig_property(_fsdk.DWG2PDFSettingData_output_keywords_get, _fsdk.DWG2PDFSettingData_output_keywords_set) | |
The keywords for the output PDF document, an empty string will be used as default. | |
output_producer = _swig_property(_fsdk.DWG2PDFSettingData_output_producer_get, _fsdk.DWG2PDFSettingData_output_producer_set) | |
The producer for the output PDF document, an empty string will be used as default. | |
output_subject = _swig_property(_fsdk.DWG2PDFSettingData_output_subject_get, _fsdk.DWG2PDFSettingData_output_subject_set) | |
The subject for the output PDF document, an empty string will be used as default. | |
output_title = _swig_property(_fsdk.DWG2PDFSettingData_output_title_get, _fsdk.DWG2PDFSettingData_output_title_set) | |
The title for the output PDF document, an empty string will be used as default. | |
paper_height = _swig_property(_fsdk.DWG2PDFSettingData_paper_height_get, _fsdk.DWG2PDFSettingData_paper_height_set) | |
The paper height used for the converted PDF document. More... | |
paper_width = _swig_property(_fsdk.DWG2PDFSettingData_paper_width_get, _fsdk.DWG2PDFSettingData_paper_width_set) | |
The paper width used for the converted PDF document. More... | |
searchable_text_type = _swig_property(_fsdk.DWG2PDFSettingData_searchable_text_type_get, _fsdk.DWG2PDFSettingData_searchable_text_type_set) | |
The type of search text type. More... | |
This class represents settings used for converting DWG to PDF. This would be used in class Convert .
|
static |
Bit 12. If enabled, layout geometry will be zoomed to paper size, else layout settings will be applied.
|
static |
The type of solid hatches export.
It use FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap and this should be one of these values.
|
static |
The type of gradient hatches export.
For this option, only FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap and FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeDrawing are supported. It use FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
|
static |
The type of other (non-solid) hatches export.
For this option, only FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap and FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeDrawing are supported. It use FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
|
static |
The paper height used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(FoxitPDFSDKPython3.DWG2PDFSettingData.e_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 297.0f. this values are in millimeters.
|
static |
The paper width used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(FoxitPDFSDKPython3.DWG2PDFSettingData.e_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 210.0f. this values are in millimeters.
|
static |
The type of search text type.
This option can be used if SHX or TTF text exported as geometry(FoxitPDFSDKPython3.DWG2PDFSettingData.e_FlagTTFTextAsGeometry and FoxitPDFSDKPython3.DWG2PDFSettingData.e_FlagSHXTextAsGeometry are enabled by export_flags). It use FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFSearchableTextTypeNoSearch as the default value of this option. Please refer to values starting from FoxitPDFSDKPython3.DWG2PDFSettingData.e_DWG2PDFSearchableTextTypeNoSearch and this should be one of these values.