ShapeOptions Type
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
type ShapeOptions = Partial<Omit<ShapeDrawing, 'kind' | 'position'>> & {
preset: string;
position?: Partial<DrawingPosition>;
};
Members
Properties
| Property | Description |
|---|---|
| adjustments | The adjustments value of ShapeOptions. |
| altText | The altText value of ShapeOptions. |
| bold | The bold value of ShapeOptions. |
| fillColor | The fillColor value of ShapeOptions. |
| fillGradient | The fillGradient value of ShapeOptions. |
| flipH | The flipH value of ShapeOptions. |
| flipV | The flipV value of ShapeOptions. |
| fontFamily | The fontFamily value of ShapeOptions. |
| fontSize | The fontSize value of ShapeOptions. |
| glow | The glow value of ShapeOptions. |
| groupId | The groupId value of ShapeOptions. |
| id | The id value of ShapeOptions. |
| lineColor | The lineColor value of ShapeOptions. |
| lineDash | The lineDash value of ShapeOptions. |
| lineWidth | The lineWidth value of ShapeOptions. |
| name | The name value of ShapeOptions. |
| opacity | The opacity value of ShapeOptions. |
| position | The position value of ShapeOptions. |
| preset | The preset value of ShapeOptions. |
| rotation | The rotation value of ShapeOptions. |
| shadow | The shadow value of ShapeOptions. |
| text | The text value of ShapeOptions. |
| textAlign | The textAlign value of ShapeOptions. |
| textColor | The textColor value of ShapeOptions. |
| verticalAlign | 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.
const shapeSettings = { preset: 'Invoice' };