PdfAConversionOptions
OfficeIMO.Pdf
Controls conversion of an existing PDF into a PDF/A archival file.
Inheritance
- object
- PdfAConversionOptions
Remarks
An encrypted source is converted when it was loaded with its owner password in PdfLoadOptions.Password: PDF/A forbids encryption, so the converted file is written without it.
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 2
- Method PdfDocument.ConvertToPdfA
- Method PdfDocument.SaveAsPdfA
Constructors
public PdfAConversionOptions() #Inherited Methods
Properties
public PdfComplianceProfile Profile { get; set; } #Gets or sets the target profile: PdfComplianceProfile.PdfA2B (the default), PdfComplianceProfile.PdfA2U, PdfComplianceProfile.PdfA3B, PdfComplianceProfile.PdfA3U, PdfComplianceProfile.PdfA4 or PdfComplianceProfile.PdfA4F. PDF/A-4 files are written as PDF 2.0; PDF/A-4f requires at least one embedded file in the source. Other profiles are rejected with ArgumentException.
public PdfOutputIntent? OutputIntent { get; set; } #Gets or sets the output intent to add. When null (the default), an existing PDF/A output intent is kept, or the built-in sRGB IEC61966-2.1 output intent is added. Supply one with a CMYK profile to convert files painted in device CMYK. A source that already has an output intent profile is refused, because PDF/A requires every output intent to share one profile.
public PdfAAttachmentPolicy Attachments { get; set; } #Gets or sets what happens to embedded files when the target is PDF/A-2 or PDF/A-4, which cannot carry arbitrary attachments. PDF/A-3 and PDF/A-4f keep attachments. Defaults to PdfAAttachmentPolicy.Remove.
public PdfAFontSubstitution FontSubstitution { get; set; } #Gets or sets where fonts the source does not embed may be found. Defaults to PdfAFontSubstitution.InstalledFonts.