API Reference
Cmdlet
New-OfficePdfPowerPointImportOptions
Creates discoverable PDF-to-PowerPoint reconstruction settings.
Remarks
Creates discoverable PDF-to-PowerPoint reconstruction settings.
Examples
Import selected PDF pages as bounded slide content.
PS>
$options = New-OfficePdfPowerPointImportOptions -PageRange '1-5' -MaxPages 5 -IncludeSourceTitles
ConvertTo-OfficePdfPowerPoint -Path .\Source.pdf -OutputPath .\Slides.pptx -Options $options
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
New-OfficePdfPowerPointImportOptions [-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 <VisualPages>] [-PageRange <String>] [-SuppressRepeatedBodyHeaderRows] [-TableStyle <PowerPointTableStylePreset>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- AlignNumericColumns SwitchParameter
- Right-align inferred numeric columns.
- BandedRows SwitchParameter
- Enable banded-row styling.
- Dpi Double
- Raster resolution used by visual import.
- EmptyPresentationMessage String
- Message used when no supported content is detected.
- EmptyPresentationTitle String
- Title used when no supported content is detected.
- IncludeColumnHeaderRows SwitchParameter
- Add inferred column headers.
- IncludeSourceTitles SwitchParameter
- Add source-page titles.
- MaxColumnsPerSlide Int32
- Maximum columns written to one slide; zero means unlimited.
- MaxEditableObjectsPerPage Int32
- Maximum editable objects reconstructed per page.
- MaxOutputBytesPerPage Int64
- Maximum encoded bytes per rendered page.
- MaxPages Int32
- Maximum pages imported.
- MaxPixelsPerPage Int64
- Maximum pixels per rendered page.
- MaxRows Int32
- Maximum body rows imported per table; zero means unlimited.
- MaxRowsPerSlide Int32
- Maximum rows written to one slide; zero means unlimited.
- MaxTotalOutputBytes Int64
- Maximum aggregate encoded output bytes.
- MergePageContinuations SwitchParameter
- Merge compatible table segments across pages.
- Mode PdfPowerPointImportMode
- Visual, editable-table, hybrid, editable-content, or automatic import mode.
- Possible values:
VisualPages,EditableTables,HybridVisualAndEditableTables,EditableContent,Auto - PageRange String
- Optional one-based page ranges such as 1-3,5.
- SuppressRepeatedBodyHeaderRows SwitchParameter
- Suppress repeated body header rows.
- TableStyle PowerPointTableStylePreset
- PowerPoint table style.
Outputs
OfficeIMO.PowerPoint.Pdf.PdfPowerPointImportOptions