Cmdlet
Add-OfficePdfRow
Adds a row of side-by-side PdfColumn blocks.
Syntax
Add-OfficePdfRow
[-ColumnSeparatorColor <OfficeColor>]
[-ColumnSeparatorWidth <OfficeLength>]
[-Content] <ScriptBlock>
[-Gap <OfficeLength>]
[-KeepTogether]
[-KeepWithNext]
[-SpacingAfter <OfficeLength>]
[-SpacingBefore <OfficeLength>]
[<CommonParameters>]#Parameter set:
ContextAdd-OfficePdfRow
[-ColumnSeparatorColor <OfficeColor>]
[-ColumnSeparatorWidth <OfficeLength>]
[-Content] <ScriptBlock>
-Document <PdfDocument>
[-Gap <OfficeLength>]
[-KeepTogether]
[-KeepWithNext]
[-PassThru]
[-SpacingAfter <OfficeLength>]
[-SpacingBefore <OfficeLength>]
[<CommonParameters>]#Parameter set:
DocumentExamples
Use the native OfficePdfRow command.
New-OfficePdf -Path .\TwoColumns.pdf {
PdfRow {
PdfColumn { PdfParagraph 'Left column' }
PdfColumn { PdfParagraph 'Right column' }
}
}Parameters
- -ColumnSeparatorColor OfficeColor
- ColumnSeparatorColor for this operation.
- -ColumnSeparatorWidth OfficeLength
- ColumnSeparatorWidth for this operation.
- -Content ScriptBlock
- Content for this operation.
- -Gap OfficeLength
- Gap for this operation.
- -KeepTogether SwitchParameter
- KeepTogether for this operation.
- -KeepWithNext SwitchParameter
- KeepWithNext for this operation.
- -SpacingAfter OfficeLength
- SpacingAfter for this operation.
- -SpacingBefore OfficeLength
- SpacingBefore for this operation.
- -Document PdfDocument
- Document for this operation.
- -PassThru SwitchParameter
- Document set only; inside a block the document is returned by New-OfficePdf.
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.