# EmailLayoutColumn

Defines the layout structure for a column in an email content.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML/1.40.0)

Stars **1,025**

Forks **114**

Open issues 

PowerShell Gallery downloads **7,576,901**

Release **v1.45.0**

Language: PowerShell Updated: 2026-11-19

Command 

**Module**

`PSWriteHTML`

Defines the layout structure for a column in an email content.

## Syntax

```
EmailLayoutColumn
[[-Alignment] <String>]
[[-BorderBottomColor] <String>]
[[-BorderBottomStyle] <Object>]
[[-BorderBottomWidthSize] <String>]
[[-BorderLeftColor] <String>]
[[-BorderLeftStyle] <Object>]
[[-BorderLeftWidthSize] <String>]
[[-BorderRightColor] <String>]
[[-BorderRightStyle] <Object>]
[[-BorderRightWidthSize] <String>]
[[-BorderTopColor] <String>]
[[-BorderTopStyle] <Object>]
[[-BorderTopWidthSize] <String>]
[[-ColumnLayout] <ScriptBlock>]
[[-Padding] <String>]
[[-PaddingBottom] <String>]
[[-PaddingLeft] <String>]
[[-PaddingRight] <String>]
[[-PaddingTop] <String>]
[[-Width] <String>]
[<CommonParameters>]
```

[#](#method-emaillayoutcolumn-string-string-object-string-string-object-string-string-object-string-string-object-string-scriptblock-string-string-string-string-string-string)

Parameter set: `All Parameter Sets`

## Description

This function defines the layout structure for a column in an email content using specified parameters. It allows customization of column layout properties such as width, alignment, padding, and borders.

## Examples

### Example 1

```powershell
EmailLayoutColumn -Alignment 'Value'
```

## Parameters

**-Alignment String optionalposition: 2**

Specifies the alignment of the content within the column. Valid values are 'left', 'center', 'right', or 'justify'.

**-BorderBottomColor String optionalposition: 12**

Specifies the color of the bottom border.

**-BorderBottomStyle Object optionalposition: 11**

Specifies the style of the bottom border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.

Possible values: `hidden`, `dotted`, `dashed`, `solid`, `double`, `groove`, `ridge`, `inset`, `outset`

**-BorderBottomWidthSize String optionalposition: 13**

Specifies the width of the bottom border.

**-BorderLeftColor String optionalposition: 15**

Specifies the color of the left border.

**-BorderLeftStyle Object optionalposition: 14**

Specifies the style of the left border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.

Possible values: `hidden`, `dotted`, `dashed`, `solid`, `double`, `groove`, `ridge`, `inset`, `outset`

**-BorderLeftWidthSize String optionalposition: 16**

Specifies the width of the left border.

**-BorderRightColor String optionalposition: 18**

Specifies the color of the right border.

**-BorderRightStyle Object optionalposition: 17**

Specifies the style of the right border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.

Possible values: `hidden`, `dotted`, `dashed`, `solid`, `double`, `groove`, `ridge`, `inset`, `outset`

**-BorderRightWidthSize String optionalposition: 19**

Specifies the width of the right border.

**-BorderTopColor String optionalposition: 9**

Specifies the color of the top border.

**-BorderTopStyle Object optionalposition: 8**

Specifies the style of the top border. Valid values are 'none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'.

Possible values: `hidden`, `dotted`, `dashed`, `solid`, `double`, `groove`, `ridge`, `inset`, `outset`

**-BorderTopWidthSize String optionalposition: 10**

Specifies the width of the top border.

**-ColumnLayout ScriptBlock optionalposition: 0**

Specifies the ScriptBlock containing the content of the column.

**-Padding String optionalposition: 3**

Specifies the padding for all sides of the column.

**-PaddingBottom String optionalposition: 6**

Specifies the padding for the bottom side of the column.

**-PaddingLeft String optionalposition: 7**

Specifies the padding for the left side of the column.

**-PaddingRight String optionalposition: 5**

Specifies the padding for the right side of the column.

**-PaddingTop String optionalposition: 4**

Specifies the padding for the top side of the column.

**-Width String optionalposition: 1**

Specifies the width of the column.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:FC58BD85317CC5ECA89B2CBE408B293E6246F8F70CB6552137921262EE1E2E85 -->
