PdfFormatConversionOptions

PdfFormatConversionOptions class

represents set of options for convert PDF document

The PdfFormatConversionOptions type exposes the following members:

Constructors

NameDescription
PdfFormatConversionOptions(output_log_file_name, format, action)Initializes a new instance of the PdfFormatConversionOptions class
PdfFormatConversionOptions(output_log_file_name, format)Initializes a new instance of the PdfFormatConversionOptions class
PdfFormatConversionOptions(format)Initializes a new instance of the PdfFormatConversionOptions class
PdfFormatConversionOptions(format, action)Initializes a new instance of the PdfFormatConversionOptions class
PdfFormatConversionOptions(output_log_file_name, format, action, transparency_action)Initializes a new instance of the PdfFormatConversionOptions class
PdfFormatConversionOptions(output_log_stream, format, action)Initializes a new instance of the PdfFormatConversionOptions class

Properties

NameDescription
is_async_image_streams_conversion_modeGets/sets run of image streams in async mode.
is_low_memory_modeIs low memory conversion mode enabled
formatPDF format.
log_file_namePath to file where comments will be stored.
log_streamStream where comments will be stored.
error_actionAction for objects that can not be converted
transparency_actionAction for image masked objects
convert_soft_mask_actionAction for images with soft mask.
defaultGets PdfFormatConversionOptions object with default parameters
non_specification_casesHolds flags to control PDF/A conversion process for cases when source document
doesn’t correspond to PDF/A specification.
symbolic_font_encoding_strategyStrategy to copy encoding data for symbolic fonts if symbolic TrueType font
has more than one encoding subtable.
align_textThis flag controls text alignment in converted document. By default document conversion
doesn’t affect text alignment and leave text as is. But in some cases font substitution
causes text overlapping or extra spaces in converted document. When this flag is set
special alignment operations will be performed. This flag should be set only for documents
which have problems with overlapped text or extra text spaces cause using of this flag decrease
performance and in some cases could corrupt text content.
pua_text_processing_strategyStrategy to process symbols from unicode Private Use Area (PUA).
optimize_file_sizeGets or sets a flag which enables/disables special conversion mode to get PDF/A document with reduced file size.
Now this flag impacts on optimization of fonts used in PDF document, possibly, in future, this flag
also will be used to switch on optimization for another data structures, such as graphic.
Set of this flag and mode could significantly reduce file size but at the same time it could
significantly decrease performance of conversion.
exclude_fonts_strategyStrategy(ies) to exclude superfluous fonts and reduce document file size.
This parameter has sense only when flag optimize_file_size is set to true.
By default combination of strategies None and
None is used.
font_embedding_optionsOptions for cases when it’s not possible to embed some fonts into PDF document.
unicode_processing_rulesRules to solve problems with unicode mapping. Can be null.
icc_profile_file_nameGets or sets the filename of icc profile name. In case of null the default icc profile used.
not_accessible_fontsThis property is out-property. It holds all the fonts(font names) which were not found on computer
at last PDF/A conversion.
is_transfer_infoGets or sets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default.
align_strategyStrategy to align text. This parameter has sense only when flag align_text is set to true.

See Also