# ShapeOptions Type

> ShapeOptions type alias in the TX Sheet Control TypeScript API for Node.js, with its syntax, 25 properties and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > ShapeOptions Type
- **1025 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/llms-full.txt

---

Public type for ShapeOptions.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Syntax

```typescript
type ShapeOptions = Partial<Omit<ShapeDrawing, 'kind' | 'position'>> & {
    preset: string;
    position?: Partial<DrawingPosition>;
};
```

### Members

#### Properties

| Property | Description |
|---|---|
| [adjustments](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/adjustments-property/llms-full.txt) | The adjustments value of ShapeOptions. |
| [altText](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/alttext-property/llms-full.txt) | The altText value of ShapeOptions. |
| [bold](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/bold-property/llms-full.txt) | The bold value of ShapeOptions. |
| [fillColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fillcolor-property/llms-full.txt) | The fillColor value of ShapeOptions. |
| [fillGradient](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fillgradient-property/llms-full.txt) | The fillGradient value of ShapeOptions. |
| [flipH](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fliph-property/llms-full.txt) | The flipH value of ShapeOptions. |
| [flipV](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/flipv-property/llms-full.txt) | The flipV value of ShapeOptions. |
| [fontFamily](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fontfamily-property/llms-full.txt) | The fontFamily value of ShapeOptions. |
| [fontSize](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fontsize-property/llms-full.txt) | The fontSize value of ShapeOptions. |
| [glow](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/glow-property/llms-full.txt) | The glow value of ShapeOptions. |
| [groupId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/groupid-property/llms-full.txt) | The groupId value of ShapeOptions. |
| [id](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/id-property/llms-full.txt) | The id value of ShapeOptions. |
| [lineColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linecolor-property/llms-full.txt) | The lineColor value of ShapeOptions. |
| [lineDash](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linedash-property/llms-full.txt) | The lineDash value of ShapeOptions. |
| [lineWidth](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linewidth-property/llms-full.txt) | The lineWidth value of ShapeOptions. |
| [name](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/name-property/llms-full.txt) | The name value of ShapeOptions. |
| [opacity](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/opacity-property/llms-full.txt) | The opacity value of ShapeOptions. |
| [position](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/position-property/llms-full.txt) | The position value of ShapeOptions. |
| [preset](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/preset-property/llms-full.txt) | The preset value of ShapeOptions. |
| [rotation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/rotation-property/llms-full.txt) | The rotation value of ShapeOptions. |
| [shadow](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/shadow-property/llms-full.txt) | The shadow value of ShapeOptions. |
| [text](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/text-property/llms-full.txt) | The text value of ShapeOptions. |
| [textAlign](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/textalign-property/llms-full.txt) | The textAlign value of ShapeOptions. |
| [textColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/textcolor-property/llms-full.txt) | The textColor value of ShapeOptions. |
| [verticalAlign](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/verticalalign-property/llms-full.txt) | The verticalAlign value of ShapeOptions. |

### Examples

Configure ShapeOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
const shapeSettings = { preset: 'Invoice' };
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Pictures and Shapes](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/pictures-shapes/llms-full.txt)

---

## In This Section

- [ShapeOptions.adjustments Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/adjustments-property/llms-full.txt): ShapeOptions.adjustments property in the TX Sheet Control TypeScript API for Node.js, with its type Record<string, number> | undefined and a TypeScript example.
- [ShapeOptions.altText Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/alttext-property/llms-full.txt): ShapeOptions.altText property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.bold Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/bold-property/llms-full.txt): ShapeOptions.bold property in the TX Sheet Control TypeScript API for Node.js, with its type boolean | undefined and a TypeScript example.
- [ShapeOptions.fillColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fillcolor-property/llms-full.txt): ShapeOptions.fillColor property in the TX Sheet Control TypeScript API for Node.js, with its type string | null | undefined and a TypeScript example.
- [ShapeOptions.fillGradient Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fillgradient-property/llms-full.txt): ShapeOptions.fillGradient property in the TX Sheet Control TypeScript API for Node.js, with its type ShapeGradient | null | undefined and a TypeScript example.
- [ShapeOptions.flipH Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fliph-property/llms-full.txt): ShapeOptions.flipH property in the TX Sheet Control TypeScript API for Node.js, with its type boolean | undefined and a TypeScript example.
- [ShapeOptions.flipV Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/flipv-property/llms-full.txt): ShapeOptions.flipV property in the TX Sheet Control TypeScript API for Node.js, with its type boolean | undefined and a TypeScript example.
- [ShapeOptions.fontFamily Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fontfamily-property/llms-full.txt): ShapeOptions.fontFamily property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.fontSize Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/fontsize-property/llms-full.txt): ShapeOptions.fontSize property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [ShapeOptions.glow Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/glow-property/llms-full.txt): ShapeOptions.glow property in the TX Sheet Control TypeScript API for Node.js, with its type ShapeGlow | null | undefined and a TypeScript example.
- [ShapeOptions.groupId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/groupid-property/llms-full.txt): ShapeOptions.groupId property in the TX Sheet Control TypeScript API for Node.js, with its type string | null | undefined and a TypeScript example.
- [ShapeOptions.id Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/id-property/llms-full.txt): ShapeOptions.id property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.lineColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linecolor-property/llms-full.txt): ShapeOptions.lineColor property in the TX Sheet Control TypeScript API for Node.js, with its type string | null | undefined and a TypeScript example.
- [ShapeOptions.lineDash Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linedash-property/llms-full.txt): ShapeOptions.lineDash property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [ShapeOptions.lineWidth Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/linewidth-property/llms-full.txt): ShapeOptions.lineWidth property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [ShapeOptions.name Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/name-property/llms-full.txt): ShapeOptions.name property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.opacity Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/opacity-property/llms-full.txt): ShapeOptions.opacity property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [ShapeOptions.position Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/position-property/llms-full.txt): ShapeOptions.position property in the TX Sheet Control TypeScript API for Node.js, with its type Partial<ChartPosition> | undefined and a TypeScript example.
- [ShapeOptions.preset Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/preset-property/llms-full.txt): ShapeOptions.preset property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [ShapeOptions.rotation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/rotation-property/llms-full.txt): ShapeOptions.rotation property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [ShapeOptions.shadow Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/shadow-property/llms-full.txt): ShapeOptions.shadow property in the TX Sheet Control TypeScript API for Node.js, with its type ShapeShadow | null | undefined and a TypeScript example.
- [ShapeOptions.text Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/text-property/llms-full.txt): ShapeOptions.text property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.textAlign Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/textalign-property/llms-full.txt): ShapeOptions.textAlign property in the Node.js TypeScript API, with its type "left" | "center" | "right" | undefined and a TypeScript example.
- [ShapeOptions.textColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/textcolor-property/llms-full.txt): ShapeOptions.textColor property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [ShapeOptions.verticalAlign Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/verticalalign-property/llms-full.txt): ShapeOptions.verticalAlign property in the Node.js TypeScript API, with its type "top" | "middle" | "bottom" | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [ShapeGradient.color Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/color-property/llms-full.txt)
- **Next:** [ShapeOptions.adjustments Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeoptions/adjustments-property/llms-full.txt)
