
## TableStyleElement class

Represents the element of the table style.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Size](#size) | int | Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, first |
| [Type](#type) | int | Gets the element type. The value of the property is TableStyleElementType integer constant. |

## Methods

| Name | Description |
| --- | --- |
| [getElementStyle](#getelementstyle) | Gets the element style. |
| [setElementStyle](#setelementstyle) | Sets the element style. |

### TableStyleElement.Size property {#size}

Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.

**Type:** int

### TableStyleElement.Type property {#type}

Gets the element type. The value of the property is TableStyleElementType integer constant.

**Type:** int

### getElementStyle() {#getelementstyle}

Gets the element style.

**Returns:** Returns the Style object.

### setElementStyle(style) {#setelementstyle}

Sets the element style.

| Parameter | Type | Description |
| --- | --- | --- |
| style | Style | The element style. |
