API Reference
Function
New-HTMLSectionStyle
Creates a new HTML section style with customizable options.
Remarks
This function creates a new HTML section style with various styling options such as border radius, text color, alignment, background color, and more.
Examples
EXAMPLE 1
New-HTMLSectionStyle -BorderRadius '10px' -HeaderTextColor 'blue' -HeaderTextAlignment 'center' -HeaderBackGroundColor 'lightgray' -Wrap 'wrap' -Direction 'row' -Align 'center' -AlignItems 'flex-start' -Justify 'space-between' -Rotate '90deg' -BackgroundColorContent 'white' -WrapContent 'wrap' -DirectionContent 'column' -AlignContent 'flex-end' -AlignItemsContent 'center' -JustifyContent 'flex-start' -WritingMode 'horizontal-tb' -TextOrientation 'upright' -RequestConfiguration
Creates a new HTML section style with specified options.
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-HTMLSectionStyle [-Align <flex-start>] [-AlignContent <flex-start>] [-AlignItems <stretch|flex-start|flex-end|center|baseline>] [-AlignItemsContent <stretch|flex-start|flex-end|center|baseline>] [-BackgroundColorContent <String>] [-BorderRadius <0px>] [-Direction <row|row-reverse|column|column-reverse>] [-DirectionContent <row|row-reverse|column|column-reverse>] [-HeaderBackGroundColor <String>] [-HeaderRemovePadding] [-HeaderTextAlignment <center|left|right|justify>] [-HeaderTextColor <String>] [-Justify <flex-start|flex-end|center>] [-JustifyContent <flex-start|flex-end|center>] [-RemoveShadow] [-RequestConfiguration] [-Rotate <-180deg|-90deg|90deg|180deg>] [-TextOrientation <mixed|upright>] [-Wrap <wrap|nowrap|wrap-reverse>] [-WrapContent <wrap|nowrap|wrap-reverse>] [-WritingMode <vertical-rl|vertical-lr|horizontal-tb>] [<CommonParameters>]
#
Parameter set:
ManualParameters
- Align String
- Specifies the alignment of the section.
- Possible values:
flex-start,flex-end,center,space-between,space-around,stretch - AlignContent String
- Specifies the alignment of the section content.
- Possible values:
flex-start,flex-end,center,space-between,space-around,stretch - AlignItems String
- Specifies the alignment of the items within the section.
- Possible values:
stretch,flex-start,flex-end,center,baseline - AlignItemsContent String
- Specifies the alignment of the items within the section content.
- Possible values:
stretch,flex-start,flex-end,center,baseline - BackgroundColorContent String
- Specifies the background color of the section content.
- BorderRadius String
- Specifies the border radius of the section.
- Possible values:
0px,5px,10px,15px,20px,25px - Direction String
- Specifies the direction of the section layout.
- Possible values:
row,row-reverse,column,column-reverse - DirectionContent String
- Specifies the direction of the section content layout.
- Possible values:
row,row-reverse,column,column-reverse - HeaderBackGroundColor String
- Specifies the background color of the section header.
- HeaderRemovePadding SwitchParameter
- HeaderTextAlignment String
- Specifies the text alignment of the section header.
- Possible values:
center,left,right,justify - HeaderTextColor String
- Specifies the text color of the section header.
- Justify String
- Specifies the justification of the section.
- Possible values:
flex-start,flex-end,center - JustifyContent String
- Specifies the justification of the section content.
- Possible values:
flex-start,flex-end,center - RemoveShadow SwitchParameter
- RequestConfiguration SwitchParameter
- Indicates whether to request configuration for the section styling.
- Rotate String
- Specifies the rotation angle of the section.
- Possible values:
-180deg,-90deg,90deg,180deg - TextOrientation String
- Specifies the text orientation of the section.
- Possible values:
mixed,upright - Wrap String
- Specifies the wrapping behavior of the section.
- Possible values:
wrap,nowrap,wrap-reverse - WrapContent String
- Specifies the wrapping behavior of the section content.
- Possible values:
wrap,nowrap,wrap-reverse - WritingMode String
- Specifies the writing mode of the section.
- Possible values:
vertical-rl,vertical-lr,horizontal-tb