API Reference
Cmdlet
Add-OfficePdfPanel
Adds a visually separated panel paragraph to a PDF document.
Remarks
Adds a visually separated panel paragraph to a PDF document.
Examples
Add a callout panel to a report.
PS>
New-OfficePdf -Path .\Examples\Documents\PdfPanel.pdf {
Add-OfficePdfHeading -Text 'Executive summary'
Add-OfficePdfPanel -Text 'No critical incidents were detected in the current reporting window.' -Align Center
}
Adds a highlighted panel paragraph to the generated 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
Add-OfficePdfPanel [-Align <Left|Center|Right|Justify>] [-PassThru] -Text <String> [<CommonParameters>]#Parameter set:
ContextParameters
- Align PdfAlign
- Panel alignment.
- Possible values:
Left,Center,Right,Justify - PassThru SwitchParameter
- Emit the updated document.
- Text String
- Panel text.
Outputs
OfficeIMO.Pdf.PdfDocument
Add-OfficePdfPanel [-Align <Left|Center|Right|Justify>] -Document <PdfDocument> [-PassThru] -Text <String> [<CommonParameters>]#Parameter set:
DocumentParameters
- Align PdfAlign
- Panel alignment.
- Possible values:
Left,Center,Right,Justify - Document PdfDocument
- PDF document to update outside the DSL context.
- PassThru SwitchParameter
- Emit the updated document.
- Text String
- Panel text.
Outputs
OfficeIMO.Pdf.PdfDocument