API Reference

Cmdlet

ConvertTo-OfficePdfFlatAnnotation

Namespace PSWriteOffice
Inputs
System.String
Outputs
System.IO.FileInfo

Flattens supported visual PDF annotations into static page content.

Remarks

Flattens supported visual PDF annotations into static page content.

Examples

Authored help example

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 -OutputPath <String> -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

OutputPath String requiredposition: 1pipeline: False
Output PDF path.
Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath
Input PDF path.

Outputs

System.IO.FileInfo