PdfAConversionOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfAConversionOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfAConversionOptionsFluent
Methods
public static PdfAConversionOptions Attachments(PdfAConversionOptions pdfAConversionOptions, PdfAAttachmentPolicy value) #Sets PdfAConversionOptions.Attachments: 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.
Parameters
- pdfAConversionOptions OfficeIMO.Pdf.PdfAConversionOptions
- The instance.
- value OfficeIMO.Pdf.PdfAAttachmentPolicy
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { Attachments = value }; pdfAConversionOptions.Attachments(value);public static PdfAConversionOptions FontSubstitution(PdfAConversionOptions pdfAConversionOptions, PdfAFontSubstitution value) #Sets PdfAConversionOptions.FontSubstitution: Gets or sets where fonts the source does not embed may be found. Defaults to PdfAFontSubstitution.InstalledFonts.
Parameters
- pdfAConversionOptions OfficeIMO.Pdf.PdfAConversionOptions
- The instance.
- value OfficeIMO.Pdf.PdfAFontSubstitution
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { FontSubstitution = value }; pdfAConversionOptions.FontSubstitution(value);public static PdfAConversionOptions OutputIntent(PdfAConversionOptions pdfAConversionOptions, PdfOutputIntent? value) #Sets PdfAConversionOptions.OutputIntent: 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.
Parameters
- pdfAConversionOptions OfficeIMO.Pdf.PdfAConversionOptions
- The instance.
- value OfficeIMO.Pdf.PdfOutputIntent?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { OutputIntent = value }; pdfAConversionOptions.OutputIntent(value);public static PdfAConversionOptions OutputIntent(PdfAConversionOptions pdfAConversionOptions, Action<PdfOutputIntent> configure) #Configures PdfAConversionOptions.OutputIntent in place: 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.
Parameters
- pdfAConversionOptions OfficeIMO.Pdf.PdfAConversionOptions
- The instance.
- configure System.Action<OfficeIMO.Pdf.PdfOutputIntent>
- Configures the value.
public static PdfAConversionOptions Profile(PdfAConversionOptions pdfAConversionOptions, PdfComplianceProfile value) #Sets PdfAConversionOptions.Profile: 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.
Parameters
- pdfAConversionOptions OfficeIMO.Pdf.PdfAConversionOptions
- The instance.
- value OfficeIMO.Pdf.PdfComplianceProfile
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { Profile = value }; pdfAConversionOptions.Profile(value);