Cmdlet
Set-OfficePdfCompliance
Sets generated PDF compliance profile and readiness groundwork.
Syntax
Set-OfficePdfCompliance
[-Groundwork]
[-Language <String>]
[-Profile] <PdfComplianceProfile>
[<CommonParameters>]#Parameter set:
ContextExamples
Configure PDF/A groundwork before saving.
$path = '.\Examples\Documents\PdfCompliance.pdf'
New-OfficePdf -Path $path {
Set-OfficePdfCompliance -Profile PdfA3B -Groundwork -Language 'en-US'
Add-OfficePdfHeading -Text 'Compliance-ready report'
}
Get-OfficePdfCompliance -Path $path -Profile PdfA3BApplies OfficeIMO.Pdf compliance groundwork during composition, saves the PDF, then inspects the saved file.
Parameters
- -Groundwork SwitchParameter
- Configure common PDF/A or PDF/UA groundwork for the selected profile.
- -Language String
- Catalog language used by compliance groundwork.
- -Profile PdfComplianceProfile
- Requested generated PDF compliance profile.
- Possible values:
PdfA2B,PdfA2U,PdfA2A,PdfA3B,PdfA3U,PdfA3A,PdfUa1,FacturX,Zugferd,PdfA4,PdfA4E,PdfA4F,PdfUa2,PdfX1A2003,PdfX4
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.