Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficePdfFormFillOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Pdf.PdfFormFillerOptions

Creates native XFDF field/value limits and appearance behavior for Import-OfficePdfXfdf.

Syntax

New-OfficePdfFormFillOptions
[-KeepNeedAppearances]
[-MaxFields <Int32>]
[-MaxValueCharacters <Int32>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Bound an imported form data set.

$options = New-OfficePdfFormFillOptions -MaxFields 100 -MaxValueCharacters 10000
Import-OfficePdfXfdf -Path ./Form.pdf -XfdfPath ./Values.xfdf -OutputPath ./Filled.pdf -Options $options

Parameters

-KeepNeedAppearances SwitchParameter optional
Keep the native NeedAppearances flag set for legacy viewers.
-MaxFields Int32 optional
Maximum fields admitted from one XFDF document.
-MaxValueCharacters Int32 optional
Maximum aggregate XFDF value characters.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.