# DrawingPatch Type

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

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

---

Public type for DrawingPatch.

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 DrawingPatch = Partial<Omit<PictureDrawing, 'kind' | 'id' | 'position' | 'crop'>> & Partial<Omit<ShapeDrawing, 'kind' | 'id' | 'position'>> & {
    position?: Partial<DrawingPosition>;
    crop?: Partial<PictureDrawing['crop']>;
};
```

### Members

#### Properties

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

### Examples

Pass the DrawingPatch value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectDrawingPatchName(drawingPatch: { name: string | undefined }) {
    const value = drawingPatch['name'];
    console.log('DrawingPatch.name', value);
}
```

### 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)

### Additional and Inherited Members

| Member | Ownership |
|---|---|
| [barcode](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/drawingpatch/barcode-property/llms-full.txt) | Portable live barcode settings. Source references are resolved after recalculation and mail merge; use the owning cell or drawing barcode operations to persist edits. |

---

## In This Section

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

---

## Nearby

- **Previous:** [DrawingOptions.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/drawingoptions/type-property/llms-full.txt)
- **Next:** [DrawingPatch.adjustments Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/drawingpatch/adjustments-property/llms-full.txt)
