Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfFormFillerOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfFormFillerOptions, 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
  • PdfFormFillerOptionsFluent

Methods

public static PdfFormFillerOptions AppearanceFont(PdfFormFillerOptions pdfFormFillerOptions, string familyName, byte[] regular) #

Registers a single regular TrueType or OpenType/CFF font face for synthesized text appearances.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
familyName string required
PDF font family name to expose in synthesized resources.
regular byte[] required
Regular TrueType or OpenType/CFF font bytes.

Returns

PdfFormFillerOptions The same instance.
public static PdfFormFillerOptions AppearanceFontFallbacks(PdfFormFillerOptions pdfFormFillerOptions, PdfEmbeddedFontFallbackSet fallbackSet) #

Registers prioritized fallback fonts for synthesized text appearances.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
fallbackSet OfficeIMO.Pdf.PdfEmbeddedFontFallbackSet required
Fallback set used when the preferred appearance font cannot cover the field value.

Returns

PdfFormFillerOptions The same instance.
public static PdfFormFillerOptions AppearanceFontFamily(PdfFormFillerOptions pdfFormFillerOptions, PdfEmbeddedFontFamily fontFamily) #

Registers a TrueType font family for synthesized text appearances.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily required
Font family to embed into synthesized appearance streams.

Returns

PdfFormFillerOptions The same instance.
public static PdfFormFillerOptions AppearanceFontFile(PdfFormFillerOptions pdfFormFillerOptions, string familyName, string regularPath) #

Registers a single regular TrueType or OpenType/CFF font file for synthesized text appearances.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
familyName string required
PDF font family name to expose in synthesized resources.
regularPath string required
Path to a regular TrueType or OpenType/CFF font file.

Returns

PdfFormFillerOptions The same instance.
public static PdfFormFillerOptions KeepNeedAppearances(PdfFormFillerOptions pdfFormFillerOptions, bool value = true) #

Sets PdfFormFillerOptions.KeepNeedAppearances: When true, keeps the AcroForm /NeedAppearances flag set after filling fields for legacy viewers that ignore normal appearance streams.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfFormFillerOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfFormFillerOptions { KeepNeedAppearances = value };    pdfFormFillerOptions.KeepNeedAppearances(value);
public static PdfFormFillerOptions MaxXfdfDocumentCharacters(PdfFormFillerOptions pdfFormFillerOptions, int value) #

Sets PdfFormFillerOptions.MaxXfdfDocumentCharacters: Maximum XFDF source length accepted before XML materialization.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
value int required
The value.

Returns

PdfFormFillerOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Pdf.PdfFormFillerOptions { MaxXfdfDocumentCharacters = value };    pdfFormFillerOptions.MaxXfdfDocumentCharacters(value);
public static PdfFormFillerOptions MaxXfdfFields(PdfFormFillerOptions pdfFormFillerOptions, int value) #

Sets PdfFormFillerOptions.MaxXfdfFields: Maximum number of fields accepted from one XFDF document.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
value int required
The value.

Returns

PdfFormFillerOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfFormFillerOptions { MaxXfdfFields = value };    pdfFormFillerOptions.MaxXfdfFields(value);
public static PdfFormFillerOptions MaxXfdfValueCharacters(PdfFormFillerOptions pdfFormFillerOptions, int value) #

Sets PdfFormFillerOptions.MaxXfdfValueCharacters: Maximum aggregate length of values accepted from one XFDF document.

Parameters

pdfFormFillerOptions OfficeIMO.Pdf.PdfFormFillerOptions required
The instance.
value int required
The value.

Returns

PdfFormFillerOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Pdf.PdfFormFillerOptions { MaxXfdfValueCharacters = value };    pdfFormFillerOptions.MaxXfdfValueCharacters(value);