PdfFormatConversionOptions

PdfFormatConversionOptions

Overview

PdfFormatConversionOptions is a class in Aspose.PDF FOSS for .NET.

Options for converting a PDF document to a specific PDF/A conformance level.

This class provides 6 methods for working with PdfFormatConversionOptions objects in .NET programs. Available methods include: PdfFormatConversionOptions. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: AlignText, AutoTaggingSettings, ConvertSoftMaskAction, Default, ErrorAction, ExcludeFontsStrategy, and 17 more.

Properties

NameTypeAccessDescription
TargetFormatPdfFormatRead/WriteTarget PDF/A conformance level.
FormatPdfFormatRead/WriteTarget PDF/A conformance level (alias for TargetFormat).
ErrorActionConvertErrorActionRead/WriteAction to take when a violation is found: fix it or log only.
OptimizeFileSizeboolRead/WriteWhether to optimize file size during conversion.
TransparencyActionConvertTransparencyActionRead/WriteAction to take when transparency is encountered.
LogFileNamestring?Read/WriteLog file path for writing conversion results.
LogStreamStream?Read/WriteStream for logging conversion results.
IccProfileFileNamestring?Read/WritePath to an ICC color profile file for PDF/X conversion.
OutputIntentOutputIntent?Read/WriteOutput intent for PDF/X conversion.
AlignTextboolRead/WriteWhen true, the converter aligns adjacent text fragments according to AlignStrategy.
AutoTaggingSettingsAutoTaggingSettingsRead/WriteAuto-tagging configuration.
ConvertSoftMaskActionConvertSoftMaskActionRead/WriteHow soft masks are converted.
DefaultPdfFormatConversionOptionsReadDefault conversion options targeting PDF/A-1B with Delete-on-error.
ExcludeFontsStrategyRemoveFontsStrategyRead/WriteStrategy for removing fonts from the converted output.
FontEmbeddingOptionsFontEmbeddingOptionsReadFont-embedding behaviour.
IsAsyncImageStreamsConversionModeboolRead/WriteWhen true, image-stream conversion runs asynchronously where possible.
IsLowMemoryModeboolRead/WriteWhen true, the converter operates in low-memory mode.
IsTransferInfoboolRead/WriteWhen true, the converter transfers Info-dict entries to the output.
NonSpecificationCasesPdfANonSpecificationFlagsReadRelaxed PDF/A specification flags.
NotAccessibleFontsstring[]ReadList of font names that could not be embedded during conversion.
PuaTextProcessingStrategyPuaProcessingStrategyRead/WritePrivate-Use-Area processing strategy.
SymbolicFontEncodingStrategyPdfASymbolicFontEncodingStrategyRead/WriteRe-encoding strategy for symbolic fonts.
UnicodeProcessingRulesToUnicodeProcessingRulesRead/WriteToUnicode CMap generation rules.

Methods

SignatureDescription
PdfFormatConversionOptions(format: PdfFormat)Initializes a new instance with the specified target format.
PdfFormatConversionOptions(format: PdfFormat, action: ConvertErrorAction)Initializes a new instance with the specified target format and error action.
PdfFormatConversionOptions(outputLogStream: Stream, format: PdfFormat, action: ConvertErrorAction)Initializes a new instance with a log stream, target format, and error action.
PdfFormatConversionOptions(outputLogFileName: string, format: PdfFormat)Initializes a new instance with a log file path and target format.
PdfFormatConversionOptions(outputLogFileName: string, format: PdfFormat, action: ConvertErrorAction)Initializes a new instance with a log file path, target format, and error action.
PdfFormatConversionOptions(outputLogFileName: string, format: PdfFormat, action: ConvertErrorAction, transparencyAction: ConvertTransparencyAction)Initializes a new instance with a log file path, target format, error action and transparency action.

See Also