Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

New-OfficePdfToPowerPointOptions

Aliases: New-OfficePdfPowerPointImportOptions
Module
PSWriteOffice
Aliases
New-OfficePdfPowerPointImportOptions
Inputs
None
Outputs
OfficeIMO.PowerPoint.Pdf.PdfToPowerPointOptions

Creates discoverable PDF-to-PowerPoint reconstruction settings.

Syntax

New-OfficePdfToPowerPointOptions
[-AlignNumericColumns]
[-BandedRows]
[-Dpi <Double>]
[-EmptyPresentationMessage <String>]
[-EmptyPresentationTitle <String>]
[-IncludeColumnHeaderRows]
[-IncludeSourceTitles]
[-MaxColumnsPerSlide <Int32>]
[-MaxEditableObjectsPerPage <Int32>]
[-MaxOutputBytesPerPage <Int64>]
[-MaxPages <Int32>]
[-MaxPixelsPerPage <Int64>]
[-MaxRows <Int32>]
[-MaxRowsPerSlide <Int32>]
[-MaxTotalOutputBytes <Int64>]
[-MergePageContinuations]
[-Mode <PdfPowerPointImportMode>]
[-PageRange <String>]
[-SuppressRepeatedBodyHeaderRows]
[-TableStyle <PowerPointTableStylePreset>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Import selected PDF pages as bounded slide content.

$options = New-OfficePdfToPowerPointOptions -PageRange '1-5' -MaxPages 5 -IncludeSourceTitles
ConvertTo-OfficePdfPowerPoint -Path .\Source.pdf -OutputPath .\Slides.pptx -Options $options

Parameters

-AlignNumericColumns SwitchParameter optional
Right-align inferred numeric columns.
-BandedRows SwitchParameter optional
Enable banded-row styling.
-Dpi Double optional
Raster resolution used by visual import.
-EmptyPresentationMessage String optional
Message used when no supported content is detected.
-EmptyPresentationTitle String optional
Title used when no supported content is detected.
-IncludeColumnHeaderRows SwitchParameter optional
Add inferred column headers.
-IncludeSourceTitles SwitchParameter optional
Add source-page titles.
-MaxColumnsPerSlide Int32 optional
Maximum columns written to one slide; zero means unlimited.
-MaxEditableObjectsPerPage Int32 optional
Maximum editable objects reconstructed per page.
-MaxOutputBytesPerPage Int64 optional
Maximum encoded bytes per rendered page.
-MaxPages Int32 optional
Maximum pages imported.
-MaxPixelsPerPage Int64 optional
Maximum pixels per rendered page.
-MaxRows Int32 optional
Maximum body rows imported per table; zero means unlimited.
-MaxRowsPerSlide Int32 optional
Maximum rows written to one slide; zero means unlimited.
-MaxTotalOutputBytes Int64 optional
Maximum aggregate encoded output bytes.
-MergePageContinuations SwitchParameter optional
Merge compatible table segments across pages.
-Mode PdfPowerPointImportMode optional
Visual, editable-table, hybrid, editable-content, or automatic import mode.
Possible values: VisualPages, EditableTables, HybridVisualAndEditableTables, EditableContent, Auto
-PageRange String optional
Optional one-based page ranges such as 1-3,5.
-SuppressRepeatedBodyHeaderRows SwitchParameter optional
Suppress repeated body header rows.
-TableStyle PowerPointTableStylePreset optional
PowerPoint table style.

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.