API Reference
Cmdlet
Set-OfficePdfCompliance
Sets generated PDF compliance profile and readiness groundwork.
Remarks
Sets generated PDF compliance profile and readiness groundwork.
Examples
Configure PDF/A groundwork before saving.
PS>
New-OfficePdf -Path .\Examples\Documents\PdfCompliance.pdf {
Set-OfficePdfCompliance -Profile PdfA3B -Groundwork -Language 'en-US'
Add-OfficePdfHeading -Text 'Compliance-ready report'
Get-OfficePdfCompliance -Profile PdfA3B
}
Applies OfficeIMO.Pdf compliance groundwork and emits a readiness report inside the DSL.
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.
Syntax
Set-OfficePdfCompliance [-Groundwork] [-Language <String>] [-PassThru] -Profile <PdfA2B> [<CommonParameters>]#Parameter set:
ContextParameters
- Groundwork SwitchParameter
- Configure common PDF/A or PDF/UA groundwork for the selected profile.
- Language String
- Catalog language used by compliance groundwork.
- PassThru SwitchParameter
- Emit the updated document.
- Profile PdfComplianceProfile
- Requested generated PDF compliance profile.
- Possible values:
PdfA2B,PdfA2U,PdfA2A,PdfA3B,PdfA3U,PdfA3A,PdfUa1,FacturX,Zugferd,PdfA4,PdfA4E,PdfA4F,PdfUa2
Outputs
OfficeIMO.Pdf.PdfDocument
Set-OfficePdfCompliance -Document <PdfDocument> [-Groundwork] [-Language <String>] [-PassThru] -Profile <PdfA2B> [<CommonParameters>]#Parameter set:
DocumentParameters
- Document PdfDocument
- PDF document to update outside the DSL context.
- Groundwork SwitchParameter
- Configure common PDF/A or PDF/UA groundwork for the selected profile.
- Language String
- Catalog language used by compliance groundwork.
- PassThru SwitchParameter
- Emit the updated document.
- Profile PdfComplianceProfile
- Requested generated PDF compliance profile.
- Possible values:
PdfA2B,PdfA2U,PdfA2A,PdfA3B,PdfA3U,PdfA3A,PdfUa1,FacturX,Zugferd,PdfA4,PdfA4E,PdfA4F,PdfUa2
Outputs
OfficeIMO.Pdf.PdfDocument