Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficePdfMergeOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Pdf.PdfMergeOptions

Creates native PDF annotation-flattening and page-normalization settings.

Syntax

New-OfficePdfMergeOptions
[-FlattenVisualAnnotations]
[-Height <OfficeLength>]
[-Orientation <Portrait|Landscape>]
[-PageSize <OfficePageSize>]
[-ResizeMargin <OfficeLength>]
[-ResizeMode <Fit|Fill|Stretch>]
[-Width <OfficeLength>]
[<CommonParameters>]
#
Parameter set: Default

Examples

Example 1

New-OfficePdfMergeOptions -FlattenVisualAnnotations

Parameters

-FlattenVisualAnnotations SwitchParameter optional
Paint supported visual annotations into page content before merging.
-Height OfficeLength optional
Custom target page height.
-Orientation OfficePageOrientation optional
Target page orientation.
Possible values: Portrait, Landscape
-PageSize OfficePageSize optional
Target paper preset or physical dimensions.
-ResizeMargin OfficeLength optional
Margin reserved around fitted content.
-ResizeMode PdfPageResizeMode optional
Fit behavior for source page content.
Possible values: Fit, Fill, Stretch
-Width OfficeLength optional
Custom target page width.

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.