Cmdlet
Add-OfficePdfPanel
Adds a visually separated panel paragraph to a PDF document.
Syntax
Examples
Add a callout panel to a report.
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.
Parameters
- -Align PdfAlign
- Panel alignment.
- Possible values:
Left,Center,Right,Justify - -PassThru SwitchParameter
- Emit the updated document.
- -Text String
- Panel text.
- -Document PdfDocument
- PDF document to update outside the DSL context.
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.