Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfAConversionOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

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 required
The instance.
value OfficeIMO.Pdf.PdfAAttachmentPolicy required
The value.

Returns

PdfAConversionOptions The same instance.

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 required
The instance.
value OfficeIMO.Pdf.PdfAFontSubstitution required
The value.

Returns

PdfAConversionOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { FontSubstitution = value };    pdfAConversionOptions.FontSubstitution(value);
OutputIntent 2 overloads
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 required
The instance.
value OfficeIMO.Pdf.PdfOutputIntent? required
The value.

Returns

PdfAConversionOptions The same instance.

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 required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfOutputIntent> required
Configures the value.

Returns

PdfAConversionOptions The same instance.
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 required
The instance.
value OfficeIMO.Pdf.PdfComplianceProfile required
The value.

Returns

PdfAConversionOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfAConversionOptions { Profile = value };    pdfAConversionOptions.Profile(value);