|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetColor_policy () |
| Get the color policy used for the converted PDF document. More... | |
| def | GetExport_flags () |
| Get the export flags used for the converted PDF document. More... | |
| def | GetExport_hatches_type () |
| Get the type of solid hatches export. More... | |
| def | GetGradient_export_hatches_type () |
| Get the type of gradient hatches export. More... | |
| def | GetIs_active_layout () |
| Get true means to export the active layout only, while false means not. More... | |
| def | GetIs_output_progress () |
| Get a boolean value which indicates whether to output progress logs. More... | |
| def | GetOther_export_hatches_type () |
| Get the type of other (non-solid) hatches export. More... | |
| def | GetOutput_author () |
| Get the author for the output PDF document, an empty string will be used as default. More... | |
| def | GetOutput_creator () |
| Get the creator for the output PDF document, an empty string will be used as default. More... | |
| def | GetOutput_keywords () |
| Get the keywords for the output PDF document, an empty string will be used as default. More... | |
| def | GetOutput_producer () |
| Get the producer for the output PDF document, an empty string will be used as default. More... | |
| def | GetOutput_subject () |
| Get the subject for the output PDF document, an empty string will be used as default. More... | |
| def | GetOutput_title () |
| Get the title for the output PDF document, an empty string will be used as default. More... | |
| def | GetPaper_height () |
| Get the paper height used for the converted PDF document. More... | |
| def | GetPaper_width () |
| Get the paper width used for the converted PDF document. More... | |
| def | GetProgress_callback () |
| Get a pointer to a DWG2PDFProgressCallback object which is used to receive the progress of converting DWG to PDF. More... | |
| def | GetSearchable_text_type () |
| Get the type of search text type. More... | |
| def | SetColor_policy (value) |
| Set the color policy used for the converted PDF document. More... | |
| def | SetExport_flags (value) |
| Set the export flags used for the converted PDF document. More... | |
| def | SetExport_hatches_type (value) |
| Set the type of solid hatches export. More... | |
| def | SetGradient_export_hatches_type (value) |
| Set the type of gradient hatches export. More... | |
| def | SetIs_active_layout (value) |
| Set true means to export the active layout only, while false means not. More... | |
| def | SetIs_output_progress (value) |
| Set a boolean value which indicates whether to output progress logs. More... | |
| def | SetOther_export_hatches_type (value) |
| Set the type of other (non-solid) hatches export. More... | |
| def | SetOutput_author (value) |
| Set the author for the output PDF document, an empty string will be used as default. More... | |
| def | SetOutput_creator (value) |
| Set the creator for the output PDF document, an empty string will be used as default. More... | |
| def | SetOutput_keywords (value) |
| Set the keywords for the output PDF document, an empty string will be used as default. More... | |
| def | SetOutput_producer (value) |
| Set the producer for the output PDF document, an empty string will be used as default. More... | |
| def | SetOutput_subject (value) |
| Set the subject for the output PDF document, an empty string will be used as default. More... | |
| def | SetOutput_title (value) |
| Set the title for the output PDF document, an empty string will be used as default. More... | |
| def | SetPaper_height (value) |
| Set the paper height used for the converted PDF document. More... | |
| def | SetPaper_width (value) |
| Set the paper width used for the converted PDF document. More... | |
| def | SetProgress_callback (value) |
| Set a pointer to a DWG2PDFProgressCallback object which is used to receive the progress of converting DWG to PDF. More... | |
| def | SetSearchable_text_type (value) |
| 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 .
| fsdk.DWG2PDFSettingData.GetColor_policy | ( | ) |
Get the color policy used for the converted PDF document.
It use fsdk.DWG2PDFSettingDataE_DWG2PDFColorPolicyNoPolicy as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFColorPolicyNoPolicy and this should be one of these values.
| fsdk.DWG2PDFSettingData.GetExport_flags | ( | ) |
Get the export flags used for the converted PDF document.
| fsdk.DWG2PDFSettingData.GetExport_hatches_type | ( | ) |
Get the type of solid hatches export.
It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values.
| fsdk.DWG2PDFSettingData.GetGradient_export_hatches_type | ( | ) |
Get the type of gradient hatches export.
For this option, only fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeDrawing are supported. It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
| fsdk.DWG2PDFSettingData.GetIs_active_layout | ( | ) |
Get true means to export the active layout only, while false means not.
| fsdk.DWG2PDFSettingData.GetIs_output_progress | ( | ) |
Get a boolean value which indicates whether to output progress logs.
| fsdk.DWG2PDFSettingData.GetOther_export_hatches_type | ( | ) |
Get the type of other (non-solid) hatches export.
For this option, only fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeDrawing are supported. It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
| fsdk.DWG2PDFSettingData.GetOutput_author | ( | ) |
Get the author for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetOutput_creator | ( | ) |
Get the creator for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetOutput_keywords | ( | ) |
Get the keywords for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetOutput_producer | ( | ) |
Get the producer for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetOutput_subject | ( | ) |
Get the subject for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetOutput_title | ( | ) |
Get the title for the output PDF document, an empty string will be used as default.
| fsdk.DWG2PDFSettingData.GetPaper_height | ( | ) |
Get the paper height used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(fsdk.DWG2PDFSettingDataE_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 297.0f. this values are in millimeters.
| fsdk.DWG2PDFSettingData.GetPaper_width | ( | ) |
Get the paper width used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(fsdk.DWG2PDFSettingDataE_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 210.0f. this values are in millimeters.
| fsdk.DWG2PDFSettingData.GetProgress_callback | ( | ) |
Get a pointer to a DWG2PDFProgressCallback object which is used to receive the progress of converting DWG to PDF.
| fsdk.DWG2PDFSettingData.GetSearchable_text_type | ( | ) |
Get the type of search text type.
This option can be used if SHX or TTF text exported as geometry(fsdk.DWG2PDFSettingDataE_FlagTTFTextAsGeometry and fsdk.DWG2PDFSettingDataE_FlagSHXTextAsGeometry are enabled by export_flags). It use fsdk.DWG2PDFSettingDataE_DWG2PDFSearchableTextTypeNoSearch as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFSearchableTextTypeNoSearch and this should be one of these values.
| fsdk.DWG2PDFSettingData.SetColor_policy | ( | value | ) |
Set the color policy used for the converted PDF document.
It use fsdk.DWG2PDFSettingDataE_DWG2PDFColorPolicyNoPolicy as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFColorPolicyNoPolicy and this should be one of these values.
| [in] | value | The color policy used for the converted PDF document. |
| fsdk.DWG2PDFSettingData.SetExport_flags | ( | value | ) |
Set the export flags used for the converted PDF document.
| [in] | value | The export flags used for the converted PDF document. Please refer to values starting from fsdk.DWG2PDFSettingDataE_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. |
| fsdk.DWG2PDFSettingData.SetExport_hatches_type | ( | value | ) |
Set the type of solid hatches export.
It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values.
| [in] | value | The type of solid hatches export. |
| fsdk.DWG2PDFSettingData.SetGradient_export_hatches_type | ( | value | ) |
Set the type of gradient hatches export.
For this option, only fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeDrawing are supported. It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
| [in] | value | The type of gradient hatches export. |
| fsdk.DWG2PDFSettingData.SetIs_active_layout | ( | value | ) |
Set true means to export the active layout only, while false means not.
| [in] | value | true means to export the active layout only, while false means not. Default value: false. |
| fsdk.DWG2PDFSettingData.SetIs_output_progress | ( | value | ) |
Set a boolean value which indicates whether to output progress logs.
| [in] | value | A boolean value which indicates whether to output progress logs. true means to output progress logs, and false means not. Default value: true. |
| fsdk.DWG2PDFSettingData.SetOther_export_hatches_type | ( | value | ) |
Set the type of other (non-solid) hatches export.
For this option, only fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeDrawing are supported. It use fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFExportHatchesTypeBitmap and this should be one of these values
| [in] | value | The type of other (non-solid) hatches export. |
| fsdk.DWG2PDFSettingData.SetOutput_author | ( | value | ) |
Set the author for the output PDF document, an empty string will be used as default.
| [in] | value | The author for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetOutput_creator | ( | value | ) |
Set the creator for the output PDF document, an empty string will be used as default.
| [in] | value | The creator for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetOutput_keywords | ( | value | ) |
Set the keywords for the output PDF document, an empty string will be used as default.
| [in] | value | The keywords for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetOutput_producer | ( | value | ) |
Set the producer for the output PDF document, an empty string will be used as default.
| [in] | value | The producer for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetOutput_subject | ( | value | ) |
Set the subject for the output PDF document, an empty string will be used as default.
| [in] | value | The subject for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetOutput_title | ( | value | ) |
Set the title for the output PDF document, an empty string will be used as default.
| [in] | value | The title for the output PDF document, an empty string will be used as default. |
| fsdk.DWG2PDFSettingData.SetPaper_height | ( | value | ) |
Set the paper height used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(fsdk.DWG2PDFSettingDataE_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 297.0f. this values are in millimeters.
| [in] | value | The paper height used for the converted PDF document. |
| fsdk.DWG2PDFSettingData.SetPaper_width | ( | value | ) |
Set the paper width used for the converted PDF document.
This option can be used if layout geometry will be zoomed to paper size(fsdk.DWG2PDFSettingDataE_FlagZoomToExtentsMode are enabled by export_flags). It use the default value 210.0f. this values are in millimeters.
| [in] | value | The paper width used for the converted PDF document. |
| fsdk.DWG2PDFSettingData.SetProgress_callback | ( | value | ) |
Set a pointer to a DWG2PDFProgressCallback object which is used to receive the progress of converting DWG to PDF.
| [in] | value | A pointer to a DWG2PDFProgressCallback object which is used to receive the progress of converting DWG to PDF. This parameter can be null. |
| fsdk.DWG2PDFSettingData.SetSearchable_text_type | ( | value | ) |
Set the type of search text type.
This option can be used if SHX or TTF text exported as geometry(fsdk.DWG2PDFSettingDataE_FlagTTFTextAsGeometry and fsdk.DWG2PDFSettingDataE_FlagSHXTextAsGeometry are enabled by export_flags). It use fsdk.DWG2PDFSettingDataE_DWG2PDFSearchableTextTypeNoSearch as the default value of this option. Please refer to values starting from fsdk.DWG2PDFSettingDataE_DWG2PDFSearchableTextTypeNoSearch and this should be one of these values.
| [in] | value | The type of search text type. |