Skip to main content
Version: v26

CreateAnchoredShapeOptions<TOverrides>

Interface

Options for creating an anchored drawing.

Type parameters

NameType
TOverridesextends object

Properties

disableSave

Optional

Disable/enable saving the drawing.

Type

boolean


disableSelection

Optional

Disable/enable selecting the drawing.

Type

boolean


disableUndo

Optional

Disable/enable undoing the creation of the drawing.

Type

boolean


filled

Optional

Enable/disable filling the drawing with color (if the drawing supports filling).

Type

boolean


icon

Optional

Specify an icon to render - Only icons listed here are supported

Type

number


lock

Optional

Should drawing be locked

Type

boolean


overrides

Optional

Drawing properties overrides.

Type

TOverrides


ownerStudyId

Optional

An entity ID that can be used to associate the drawing with a study.

Type

EntityId


shape

A drawing to create;

Type

"anchored_text" | "anchored_note"


showInObjectsTree

Optional

Enable/disable showing the drawing in the objects tree.

Type

boolean


text

Optional

Text for drawing

Type

string


zOrder

Optional

Create the drawing in front of all other drawings, or behind all other drawings.

Type

"top" | "bottom"