TX Sheet Control

ShapeOptions Type

Interface

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

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

See Also