Cmdlet
Add-OfficePdfList
Adds a bulleted or numbered list built from PdfListItem children.
Syntax
Add-OfficePdfList
[-Alignment <OfficeAlignment>]
[-Content] <ScriptBlock>
[-Numbered]
[-StartNumber <Int32>]
[<CommonParameters>]#Parameter set:
ContextAdd-OfficePdfList
[-Alignment <OfficeAlignment>]
[-Content] <ScriptBlock>
-Document <PdfDocument>
[-Numbered]
[-PassThru]
[-StartNumber <Int32>]
[<CommonParameters>]#Parameter set:
DocumentAdd-OfficePdfList
[-Alignment <OfficeAlignment>]
[-Items] <String[]>
[-Numbered]
[-StartNumber <Int32>]
[<CommonParameters>]#Parameter set:
ItemsAdd-OfficePdfList
[-Alignment <OfficeAlignment>]
-Document <PdfDocument>
[-Items] <String[]>
[-Numbered]
[-PassThru]
[-StartNumber <Int32>]
[<CommonParameters>]#Parameter set:
DocumentItemsExamples
Use the native OfficePdfList command.
New-OfficePdf -Path .\Actions.pdf {
PdfList {
PdfListItem 'Confirm the service owner'
PdfListItem 'Publish the summary'
PdfListItem 'Schedule the review'
}
}Parameters
- -Alignment OfficeAlignment
- Alignment for this operation.
- Possible values:
Left,Center,Right,Justify,Start,End - -Content ScriptBlock
- Content for this operation.
- -Numbered SwitchParameter
- Numbered for this operation.
- -StartNumber Int32
- StartNumber for this operation.
- -Document PdfDocument
- Document for this operation.
- -PassThru SwitchParameter
- Document set only; inside a block the document is returned by New-OfficePdf.
- -Items String[]
- Items for this operation.
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.