Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Import-OfficePdfXfdf

Module PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.Pdf.PdfDocument

Imports bounded DTD-free XFDF through the validated PDF form filler.

Syntax

Import-OfficePdfXfdf [-IgnorePermissionRestrictions] [-MaxXfdfBytes <Int64>] [-Options <PdfFormFillerOptions>] -OutputPath <String> [-PassThru] [-Password <String>] [-Path] <String> [-ReadOptions <PdfLoadOptions>] -Xfdf <String> [<CommonParameters>]
#
Parameter set: Text
Import-OfficePdfXfdf [-IgnorePermissionRestrictions] [-MaxXfdfBytes <Int64>] [-Options <PdfFormFillerOptions>] -OutputPath <String> [-PassThru] [-Password <String>] [-Path] <String> [-ReadOptions <PdfLoadOptions>] -XfdfPath <String> [<CommonParameters>]
#
Parameter set: File

Examples

Authored help example

EXAMPLE 1

Import-OfficePdfXfdf -Path 'C:\Path' -Xfdf 'Value' -OutputPath 'C:\Path'

EXAMPLE 2

Import-OfficePdfXfdf -Path 'C:\Path' -XfdfPath 'C:\Path' -OutputPath 'C:\Path'

Parameters

-IgnorePermissionRestrictions SwitchParameter optional
After successful password authentication, explicitly ignore owner-imposed form-modification restrictions.
-MaxXfdfBytes Int64 optional
Maximum UTF-8 byte count accepted from an XFDF file or pipeline. Default: 4 MiB.
-Options PdfFormFillerOptions optional
Optional validated form filling behavior.
-OutputPath String required
Destination PDF path.
-PassThru SwitchParameter optional
Return the rewritten fluent PDF document.
-Password String optional
Password used to authenticate the source form.
-Path String requiredposition: 0
Source PDF path.
-ReadOptions PdfLoadOptions optional
Optional bounded PDF parsing and password settings for the source form.
-Xfdf String requiredpipeline: True (ByValue)sets: Text
XFDF XML.
-XfdfPath String requiredsets: File
Path to an XFDF file.

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.