PdfFormatConversionOptions

PdfFormatConversionOptions class

represents set of options for convert PDF document

public class PdfFormatConversionOptions

Constructors

Name Description
PdfFormatConversionOptions(PdfFormat) Constructor
PdfFormatConversionOptions(PdfFormat, ConvertErrorAction) Constructor
PdfFormatConversionOptions(string, PdfFormat) Constructor
PdfFormatConversionOptions(Stream, PdfFormat, ConvertErrorAction) Constructor
PdfFormatConversionOptions(string, PdfFormat, ConvertErrorAction) Constructor
PdfFormatConversionOptions(string, PdfFormat, ConvertErrorAction, ConvertTransparencyAction) Constructor

Properties

Name Description
static Default { get; } Gets PdfFormatConversionOptions object with default parameters
AlignText { get; set; } This 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.
ConvertSoftMaskAction { get; set; } Action for images with soft mask.
ErrorAction { get; set; } Action for objects that can not be converted
ExcludeFontsStrategy { get; set; } Strategy(ies) to exclude superfluous fonts and reduce document file size. This parameter has sense only when flag OptimizeFileSize is set to true. By default combination of strategies SubsetFonts and RemoveDuplicatedFonts is used.
FontEmbeddingOptions { get; } Options for cases when it’s not possible to embed some fonts into PDF document.
Format { get; set; } PDF format.
IccProfileFileName { get; set; } Gets or sets the filename of icc profile name. In case of null the default icc profile used.
IsAsyncImageStreamsConversionMode { get; set; } Gets/sets run of image streams in async mode.
IsLowMemoryMode { get; set; } Is low memory conversion mode enabled
IsTransferInfo { get; set; } Gets or sets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default.
LogFileName { get; set; } Path to file where comments will be stored.
LogStream { get; set; } Stream where comments will be stored.
NonSpecificationCases { get; } Holds flags to control PDF/A conversion process for cases when source document doesn’t correspond to PDF/A specification.
NotAccessibleFonts { get; } This property is out-property. It holds all the fonts(font names) which were not found on computer at last PDF/A conversion.
OptimizeFileSize { get; set; } Gets 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.
PuaTextProcessingStrategy { get; set; } Strategy to process symbols from unicode Private Use Area (PUA).
SymbolicFontEncodingStrategy { get; set; } Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable.
TransparencyAction { get; set; } Action for image masked objects
UnicodeProcessingRules { get; set; } Rules to solve problems with unicode mapping. Can be null.

Fields

Name Description
AlignStrategy Strategy to align text. This parameter has sense only when flag AlignText is set to true.

See Also