Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficePdfColumn

Aliases: PdfColumn
Module
PSWriteOffice
Aliases
PdfColumn
Inputs
None
Outputs
System.Void

Defines one column of a PdfRow and its content.

Syntax

Add-OfficePdfColumn
[-Content] <ScriptBlock>
[-Weight <Double>]
[<CommonParameters>]
#
Parameter set: Weight
Add-OfficePdfColumn
[-Content] <ScriptBlock>
-Width <OfficeLength>
[<CommonParameters>]
#
Parameter set: Width

Examples

Use the native OfficePdfColumn command.

New-OfficePdf -Path .\Columns.pdf {
    PdfRow {
        PdfColumn { PdfHeading 'Signals' -Level 2 }
        PdfColumn { PdfPanel 'All checks passed.' }
    }
}

Parameters

-Content ScriptBlock requiredposition: 0
Content for this operation.
-Weight Double optionalsets: Weight
Weight for this operation.
-Width OfficeLength requiredsets: Width
Width 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.