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
| Name | Type | Access | Description |
|---|---|---|---|
TargetFormat | PdfFormat | Read/Write | Target PDF/A conformance level. |
Format | PdfFormat | Read/Write | Target PDF/A conformance level (alias for TargetFormat). |
ErrorAction | ConvertErrorAction | Read/Write | Action to take when a violation is found: fix it or log only. |
OptimizeFileSize | bool | Read/Write | Whether to optimize file size during conversion. |
TransparencyAction | ConvertTransparencyAction | Read/Write | Action to take when transparency is encountered. |
LogFileName | string? | Read/Write | Log file path for writing conversion results. |
LogStream | Stream? | Read/Write | Stream for logging conversion results. |
IccProfileFileName | string? | Read/Write | Path to an ICC color profile file for PDF/X conversion. |
OutputIntent | OutputIntent? | Read/Write | Output intent for PDF/X conversion. |
AlignText | bool | Read/Write | When true, the converter aligns adjacent text fragments according to AlignStrategy. |
AutoTaggingSettings | AutoTaggingSettings | Read/Write | Auto-tagging configuration. |
ConvertSoftMaskAction | ConvertSoftMaskAction | Read/Write | How soft masks are converted. |
Default | PdfFormatConversionOptions | Read | Default conversion options targeting PDF/A-1B with Delete-on-error. |
ExcludeFontsStrategy | RemoveFontsStrategy | Read/Write | Strategy for removing fonts from the converted output. |
FontEmbeddingOptions | FontEmbeddingOptions | Read | Font-embedding behaviour. |
IsAsyncImageStreamsConversionMode | bool | Read/Write | When true, image-stream conversion runs asynchronously where possible. |
IsLowMemoryMode | bool | Read/Write | When true, the converter operates in low-memory mode. |
IsTransferInfo | bool | Read/Write | When true, the converter transfers Info-dict entries to the output. |
NonSpecificationCases | PdfANonSpecificationFlags | Read | Relaxed PDF/A specification flags. |
NotAccessibleFonts | string[] | Read | List of font names that could not be embedded during conversion. |
PuaTextProcessingStrategy | PuaProcessingStrategy | Read/Write | Private-Use-Area processing strategy. |
SymbolicFontEncodingStrategy | PdfASymbolicFontEncodingStrategy | Read/Write | Re-encoding strategy for symbolic fonts. |
UnicodeProcessingRules | ToUnicodeProcessingRules | Read/Write | ToUnicode CMap generation rules. |
Methods
| Signature | Description |
|---|---|
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. |