Cmdlet
Import-OfficePdfXfdf
Imports bounded DTD-free XFDF into native PDF forms, with atomic file output or a caller-owned live result.
Syntax
Import-OfficePdfXfdf
[-Document <PdfDocument>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
[-PassThru]
-Xfdf <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
DocumentImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-Xfdf <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-Xfdf <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathDirectoryImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-XfdfPath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathFileImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-XfdfPath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathFileDirectoryImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
-Xfdf <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
-XfdfPath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathFileImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
-Xfdf <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathDirectoryImport-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
-XfdfPath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathFileDirectoryImport-OfficePdfXfdf
[-Document <PdfDocument>]
[-MaxXfdfSize <Int64>]
[-Options <Object[]>]
[-PassThru]
-XfdfPath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
DocumentFileExamples
Fill a literal file from XFDF.
Import-OfficePdfXfdf -LiteralPath './Form[1].pdf' -XfdfPath ./Values.xfdf -OutputPath ./Completed.pdfParameters
- -Document PdfDocument
- Native caller-owned PDF; omission uses the enclosing content block.
- -MaxXfdfSize Int64
- MaxXfdfSize setting.
- -Options Object[]
- Options setting.
- -PassThru SwitchParameter
- Return the changed, caller-owned PDF document. Dispose it when finished.
- -Xfdf String
- Xfdf setting.
- -WhatIf SwitchParameter
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
- -IgnorePermissionRestrictions SwitchParameter
- IgnorePermissionRestrictions setting.
- -LoadOptions PdfLoadOptions
- Native parsing, authentication and resource policy.
- -OutputPath String
- Single-file destination.
- -Password SecureString
- Password setting.
- -Path String[]
- Input PDF paths with wildcard expansion.
- -OutputDirectory String
- Batch destination retaining source names.
- -XfdfPath String
- XfdfPath setting.
- -LiteralPath String[]
- Literal input PDF paths; accepts FileInfo.FullName.
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.