TX Sheet Control

DrawingPatch Type

Interface

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

type DrawingPatch = Partial<Omit<PictureDrawing, 'kind' | 'id' | 'position' | 'crop'>> & Partial<Omit<ShapeDrawing, 'kind' | 'id' | 'position'>> & {
    position?: Partial<DrawingPosition>;
    crop?: Partial<PictureDrawing['crop']>;
};

Members

Properties

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

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

See Also

Additional and Inherited Members

MemberOwnership
barcodePortable live barcode settings. Source references are resolved after recalculation and mail merge; use the owning cell or drawing barcode operations to persist edits.