Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfFormFillerOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Implements
IPdfOperationCancellation
Modifiers
sealed

Options used when updating or flattening parsed AcroForm fields.

Inheritance

  • object
  • PdfFormFillerOptions

Usage

Explore 13 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 6

Constructors

public PdfFormFillerOptions() #

Methods

public PdfFormFillerOptions Clone() #

Copies these settings with independent appearance-font configuration.

public PdfFormFillerOptions ReportDiagnosticsTo(PdfConversionReport report, string converter = "OfficeIMO.Pdf") #

Records structured text diagnostics encountered while synthesizing form appearances.

Parameters

report OfficeIMO.Pdf.PdfConversionReport required
Mutable conversion report that receives missing-glyph, shaping, and embedded appearance-font diagnostics.
converter string = "OfficeIMO.Pdf" optional
Converter or adapter name to place on recorded warnings.

Returns

PdfFormFillerOptions The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFont(string familyName, byte[] regular) #

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

Parameters

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 current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFallbacks(PdfEmbeddedFontFallbackSet fallbackSet) #

Registers prioritized fallback fonts for synthesized text appearances.

Parameters

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

Returns

PdfFormFillerOptions The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFamily(PdfEmbeddedFontFamily fontFamily) #

Registers a TrueType font family for synthesized text appearances.

Parameters

fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily required
Font family to embed into synthesized appearance streams.

Returns

PdfFormFillerOptions The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFile(string familyName, string regularPath) #

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

Parameters

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 current options instance for fluent configuration.

Properties

public int MaxXfdfDocumentCharacters { get; set; } #

Maximum XFDF source length accepted before XML materialization.

public int MaxXfdfFields { get; set; } #

Maximum number of fields accepted from one XFDF document.

public int MaxXfdfValueCharacters { get; set; } #

Maximum aggregate length of values accepted from one XFDF document.

public bool KeepNeedAppearances { get; set; } #

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

public PdfEmbeddedFontFamily? AppearanceFontFamily { get; set; } #

Optional TrueType font family used to synthesize embedded Unicode text appearances when a parsed PDF does not already provide a reusable embedded appearance font.

public PdfEmbeddedFontFallbackSet? AppearanceFontFallbacks { get; set; } #

Optional prioritized fallback set used to synthesize embedded Unicode text appearances when the preferred appearance font cannot cover the field value.