# PdfFormFillerOptionsFluent

The fluent methods of PdfFormFillerOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfFormFillerOptions](/api/pdf/officeimo-pdf-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

Filter members 

Show inherited

## Methods

`public static PdfFormFillerOptions AppearanceFont(PdfFormFillerOptions pdfFormFillerOptions, string familyName, byte[] regular)` [#](#method-appearancefont-officeimo-pdf-pdfformfilleroptions-string-byte)

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)` [#](#method-appearancefontfallbacks-officeimo-pdf-pdfformfilleroptions-officeimo-pdf-pdfembeddedfontfallbackset)

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)` [#](#method-appearancefontfamily-officeimo-pdf-pdfformfilleroptions-officeimo-pdf-pdfembeddedfontfamily)

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)` [#](#method-appearancefontfile-officeimo-pdf-pdfformfilleroptions-string-string)

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)` [#](#method-keepneedappearances-officeimo-pdf-pdfformfilleroptions-boolean)

Sets [PdfFormFillerOptions.KeepNeedAppearances](/api/pdf/officeimo-pdf-pdfformfilleroptions/): 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

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

`public static PdfFormFillerOptions MaxXfdfDocumentCharacters(PdfFormFillerOptions pdfFormFillerOptions, int value)` [#](#method-maxxfdfdocumentcharacters-officeimo-pdf-pdfformfilleroptions-int32)

Sets [PdfFormFillerOptions.MaxXfdfDocumentCharacters](/api/pdf/officeimo-pdf-pdfformfilleroptions/): 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

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

`public static PdfFormFillerOptions MaxXfdfFields(PdfFormFillerOptions pdfFormFillerOptions, int value)` [#](#method-maxxfdffields-officeimo-pdf-pdfformfilleroptions-int32)

Sets [PdfFormFillerOptions.MaxXfdfFields](/api/pdf/officeimo-pdf-pdfformfilleroptions/): 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

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

`public static PdfFormFillerOptions MaxXfdfValueCharacters(PdfFormFillerOptions pdfFormFillerOptions, int value)` [#](#method-maxxfdfvaluecharacters-officeimo-pdf-pdfformfilleroptions-int32)

Sets [PdfFormFillerOptions.MaxXfdfValueCharacters](/api/pdf/officeimo-pdf-pdfformfilleroptions/): 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

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

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:CAF647834121FE2940587E8721B906F03CB1E95C876EF05379F1C36014BD7D5B -->
