Foxit PDF SDK  9.1
FSDWG2PDFSettingData Class Reference
Inheritance diagram for FSDWG2PDFSettingData:

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor, with parameters.
More...
 
(id) - initWithCptr:swigOwnCObject:
 

Protected Attributes

BOOL swigCMemOwn
 
void * swigCPtr
 

Properties

FSDWG2PDFSettingDataDWG2PDFColorPolicy color_policy
 The color policy used for the converted PDF document.
More...
 
unsigned int export_flags
 The export flags used for the converted PDF document. Please refer to values starting from FSDWG2PDFSettingDataFlagEmbededTTF 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.
More...
 
FSDWG2PDFSettingDataDWG2PDFExportHatchesType export_hatches_type
 The type of solid hatches export.
More...
 
FSDWG2PDFSettingDataDWG2PDFExportHatchesType gradient_export_hatches_type
 The type of gradient hatches export.
More...
 
BOOL is_active_layout
 YES means to export the active layout only, while NO means not. Default value: NO.
More...
 
BOOL is_output_progress
 A boolean value which indicates whether to output progress logs. YES means to output progress logs, and NO means not. Default value: YES.
More...
 
FSDWG2PDFSettingDataDWG2PDFExportHatchesType other_export_hatches_type
 The type of other (non-solid) hatches export.
More...
 
NSString * output_author
 The author for the output PDF document, an empty string will be used as default.
More...
 
NSString * output_creator
 The creator for the output PDF document, an empty string will be used as default.
More...
 
NSString * output_keywords
 The keywords for the output PDF document, an empty string will be used as default.
More...
 
NSString * output_producer
 The producer for the output PDF document, an empty string will be used as default.
More...
 
NSString * output_subject
 The subject for the output PDF document, an empty string will be used as default.
More...
 
NSString * output_title
 The title for the output PDF document, an empty string will be used as default.
More...
 
float paper_height
 The paper height used for the converted PDF document.
More...
 
float paper_width
 The paper width used for the converted PDF document.
More...
 
void * progress_callback
 A pointer to a object which is used to receive the progress of converting DWG to PDF. This parameter can be nil.
More...
 
FSDWG2PDFSettingDataDWG2PDFSearchableTextType searchable_text_type
 The type of search text type.
More...
 

Detailed Description

This class represents settings used for converting DWG to PDF. This would be used in class .

See also

Method Documentation

◆ dealloc

- (void) dealloc

◆ getCptr

- (void*) getCptr

◆ init

- (id) init

Constructor, with parameters.

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

Member Data Documentation

◆ swigCMemOwn

- (BOOL) swigCMemOwn
protected

◆ swigCPtr

- (void*) swigCPtr
protected

Property Documentation

◆ color_policy

- (FSDWG2PDFSettingDataDWG2PDFColorPolicy) color_policy
readwritenonatomicassign

The color policy used for the converted PDF document.

It use FSDWG2PDFSettingDataDWG2PDFColorPolicyNoPolicy as the default value of this option. Please refer to values starting from FSDWG2PDFSettingDataDWG2PDFColorPolicyNoPolicy and this should be one of these values.

◆ export_flags

- (unsigned int) export_flags
readwritenonatomicassign

The export flags used for the converted PDF document. Please refer to values starting from FSDWG2PDFSettingDataFlagEmbededTTF 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

- (FSDWG2PDFSettingDataDWG2PDFExportHatchesType) export_hatches_type
readwritenonatomicassign

The type of solid hatches export.

It use FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap and this should be one of these values.

◆ gradient_export_hatches_type

- (FSDWG2PDFSettingDataDWG2PDFExportHatchesType) gradient_export_hatches_type
readwritenonatomicassign

The type of gradient hatches export.

For this option, only FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap and FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeDrawing are supported. It use FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap and this should be one of these values

◆ is_active_layout

- (BOOL) is_active_layout
readwritenonatomicassign

YES means to export the active layout only, while NO means not. Default value: NO.

◆ is_output_progress

- (BOOL) is_output_progress
readwritenonatomicassign

A boolean value which indicates whether to output progress logs. YES means to output progress logs, and NO means not. Default value: YES.

◆ other_export_hatches_type

- (FSDWG2PDFSettingDataDWG2PDFExportHatchesType) other_export_hatches_type
readwritenonatomicassign

The type of other (non-solid) hatches export.

For this option, only FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap and FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeDrawing are supported. It use FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap as the default value of this option. Please refer to values starting from FSDWG2PDFSettingDataDWG2PDFExportHatchesTypeBitmap and this should be one of these values

◆ output_author

- (NSString *) output_author
readwritenonatomiccopy

The author for the output PDF document, an empty string will be used as default.

◆ output_creator

- (NSString *) output_creator
readwritenonatomiccopy

The creator for the output PDF document, an empty string will be used as default.

◆ output_keywords

- (NSString *) output_keywords
readwritenonatomiccopy

The keywords for the output PDF document, an empty string will be used as default.

◆ output_producer

- (NSString *) output_producer
readwritenonatomiccopy

The producer for the output PDF document, an empty string will be used as default.

◆ output_subject

- (NSString *) output_subject
readwritenonatomiccopy

The subject for the output PDF document, an empty string will be used as default.

◆ output_title

- (NSString *) output_title
readwritenonatomiccopy

The title for the output PDF document, an empty string will be used as default.

◆ paper_height

- (float) paper_height
readwritenonatomicassign

The paper height used for the converted PDF document.

This option can be used if layout geometry will be zoomed to paper size(FSDWG2PDFSettingDataFlagZoomToExtentsMode are enabled by export_flags). It use the default value 297.0f. this values are in millimeters.

◆ paper_width

- (float) paper_width
readwritenonatomicassign

The paper width used for the converted PDF document.

This option can be used if layout geometry will be zoomed to paper size(FSDWG2PDFSettingDataFlagZoomToExtentsMode are enabled by export_flags). It use the default value 210.0f. this values are in millimeters.

◆ progress_callback

- (void *) progress_callback
readwritenonatomicassign

A pointer to a object which is used to receive the progress of converting DWG to PDF. This parameter can be nil.

◆ searchable_text_type

- (FSDWG2PDFSettingDataDWG2PDFSearchableTextType) searchable_text_type
readwritenonatomicassign

The type of search text type.

This option can be used if SHX or TTF text exported as geometry(FSDWG2PDFSettingDataFlagTTFTextAsGeometry and FSDWG2PDFSettingDataFlagSHXTextAsGeometry are enabled by export_flags). It use FSDWG2PDFSettingDataDWG2PDFSearchableTextTypeNoSearch as the default value of this option. Please refer to values starting from FSDWG2PDFSettingDataDWG2PDFSearchableTextTypeNoSearch and this should be one of these values.