API Reference
PdfFormFillerOptions
Options used when updating or flattening parsed AcroForm fields.
Inheritance
- Object
- PdfFormFillerOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfDocumentForms.Fill
- Method PdfDocumentForms.Fill
- Method PdfDocumentForms.FillAndFlatten
- Method PdfDocumentForms.FillAndFlatten
- Method PdfDocumentForms.Flatten
- Method PdfDocumentForms.Flatten
- Method PdfDocumentForms.ImportData
- Method PdfDocumentForms.ImportXfdf
- Method PdfDocumentForms.TryFill
- Method PdfDocumentForms.TryFill
- Method PdfDocumentForms.TryFillAndFlatten
- Method PdfDocumentForms.TryFillAndFlatten
- Method PdfDocumentForms.TryFlatten
Constructors
public PdfFormFillerOptions() #Methods
public PdfFormFillerOptions ReportDiagnosticsTo(PdfConversionReport report, String converter = "OfficeIMO.Pdf") #PdfFormFillerOptionsRecords structured text diagnostics encountered while synthesizing form appearances.
Parameters
- report OfficeIMO.Pdf.PdfConversionReport
- Mutable conversion report that receives missing-glyph, shaping, and embedded appearance-font diagnostics.
- converter System.String = "OfficeIMO.Pdf"
- Converter or adapter name to place on recorded warnings.
Returns
The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFont(String familyName, Byte[] regular) #PdfFormFillerOptionsRegisters a single regular TrueType or OpenType/CFF font face for synthesized text appearances.
Parameters
- familyName System.String
- PDF font family name to expose in synthesized resources.
- regular System.Byte[]
- Regular TrueType or OpenType/CFF font bytes.
Returns
The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFallbacks(PdfEmbeddedFontFallbackSet fallbackSet) #PdfFormFillerOptionsRegisters prioritized fallback fonts for synthesized text appearances.
Parameters
- fallbackSet OfficeIMO.Pdf.PdfEmbeddedFontFallbackSet
- Fallback set used when the preferred appearance font cannot cover the field value.
Returns
The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFamily(PdfEmbeddedFontFamily fontFamily) #PdfFormFillerOptionsRegisters a TrueType font family for synthesized text appearances.
Parameters
- fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily
- Font family to embed into synthesized appearance streams.
Returns
The current options instance for fluent configuration.
public PdfFormFillerOptions UseAppearanceFontFile(String familyName, String regularPath) #PdfFormFillerOptionsRegisters a single regular TrueType or OpenType/CFF font file for synthesized text appearances.
Parameters
- familyName System.String
- PDF font family name to expose in synthesized resources.
- regularPath System.String
- Path to a regular TrueType or OpenType/CFF font file.
Returns
The current options instance for fluent configuration.
Inherited Methods
Properties
public Boolean 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.