API Reference
Command
New-HtmlXTableContentStyle
Applies styling to table body cells.
Remarks
Use inside New-HtmlXTable { }.
Examples
New-HtmlXTableContentStyle -Alignment Left
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
New-HtmlXTableContentStyle [-Alignment <Left>] [-BackgroundColor <string>] [-Color <string>] [-FontWeight <Normal>] [<CommonParameters>]#Parameters
- Alignment DataTablesTextAlign
- Text alignment for body cells. Possible values: Left, Center, Right, Justify, Start, End
- Possible values:
Left,Center,Right,Justify,Start,End - BackgroundColor string
- Background color for body cells.
- Color string
- Text color for body cells.
- FontWeight DataTablesFontWeight
- Font weight for body cells. Possible values: Normal, Bold, Light, SemiBold, ExtraBold, Lighter, Bolder
- Possible values:
Normal,Bold,Light,SemiBold,ExtraBold,Lighter,Bolder
Outputs
HtmlForgeX.DslOptions.Tables.TableContentStyleOption