ShapeDrawing Interface
An editable preset shape with text, fill, outline, effects and worksheet placement.
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.
Members
Properties
| Property | Description |
|---|---|
| adjustments | The adjustments value of ShapeDrawing. |
| altText | The altText value of ShapeDrawing. |
| bold | The bold value of ShapeDrawing. |
| fillColor | The fillColor value of ShapeDrawing. |
| fillGradient | The fillGradient value of ShapeDrawing. |
| flipH | The flipH value of ShapeDrawing. |
| flipV | The flipV value of ShapeDrawing. |
| fontFamily | The fontFamily value of ShapeDrawing. |
| fontSize | The fontSize value of ShapeDrawing. |
| glow | The glow value of ShapeDrawing. |
| groupId | The groupId value of ShapeDrawing. |
| id | The id value of ShapeDrawing. |
| kind | The kind value of ShapeDrawing. |
| lineColor | The lineColor value of ShapeDrawing. |
| lineDash | The lineDash value of ShapeDrawing. |
| lineWidth | The lineWidth value of ShapeDrawing. |
| name | The name value of ShapeDrawing. |
| opacity | The opacity value of ShapeDrawing. |
| position | The position value of ShapeDrawing. |
| preset | The preset value of ShapeDrawing. |
| rotation | The rotation value of ShapeDrawing. |
| shadow | The shadow value of ShapeDrawing. |
| text | The text value of ShapeDrawing. |
| textAlign | The textAlign value of ShapeDrawing. |
| textColor | The textColor value of ShapeDrawing. |
| verticalAlign | The verticalAlign value of ShapeDrawing. |
Examples
Pass the ShapeDrawing value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
function inspectShapeDrawingFillGradient(shapeDrawing: { fillGradient: unknown }) {
const value = shapeDrawing['fillGradient'];
console.log('ShapeDrawing.fillGradient', value);
}