API Reference
Cmdlet
ConvertTo-OfficePdfFlatAnnotation
Flattens supported visual PDF annotations into static page content.
Remarks
Flattens supported visual PDF annotations into static page content.
Examples
Example 1: Flatten visual annotations.
PS>
ConvertTo-OfficePdfFlatAnnotation -Path .\Reviewed.pdf -OutputPath .\Reviewed-Flat.pdf
Paints supported annotation appearance streams into page content and writes a new PDF.
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
ConvertTo-OfficePdfFlatAnnotation [-IgnorePermissionRestrictions] -OutputPath <String> [-Password <String>] -Path <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- IgnorePermissionRestrictions SwitchParameter
- After successful password authentication, explicitly ignore owner-imposed modification restrictions.
- OutputPath String
- Output PDF path.
- Password String
- Password used to authenticate an encrypted PDF.
- Path String
- Input PDF path.
Outputs
System.IO.FileInfo