TX Sheet Control

ShapeDrawing Interface

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

PropertyDescription
adjustmentsThe adjustments value of ShapeDrawing.
altTextThe altText value of ShapeDrawing.
boldThe bold value of ShapeDrawing.
fillColorThe fillColor value of ShapeDrawing.
fillGradientThe fillGradient value of ShapeDrawing.
flipHThe flipH value of ShapeDrawing.
flipVThe flipV value of ShapeDrawing.
fontFamilyThe fontFamily value of ShapeDrawing.
fontSizeThe fontSize value of ShapeDrawing.
glowThe glow value of ShapeDrawing.
groupIdThe groupId value of ShapeDrawing.
idThe id value of ShapeDrawing.
kindThe kind value of ShapeDrawing.
lineColorThe lineColor value of ShapeDrawing.
lineDashThe lineDash value of ShapeDrawing.
lineWidthThe lineWidth value of ShapeDrawing.
nameThe name value of ShapeDrawing.
opacityThe opacity value of ShapeDrawing.
positionThe position value of ShapeDrawing.
presetThe preset value of ShapeDrawing.
rotationThe rotation value of ShapeDrawing.
shadowThe shadow value of ShapeDrawing.
textThe text value of ShapeDrawing.
textAlignThe textAlign value of ShapeDrawing.
textColorThe textColor value of ShapeDrawing.
verticalAlignThe 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);
}

See Also