evCreate API 5.7 Help

Annotations

The Annotations subsection of the Object section of the evCreate API includes enumerations and functions to create annotations.

annotation namespace

The Annotations subsection of the Object evCreate API section is accessed with the annotation namespace inside the object namespace:

evCreate.object.annotation.Function()

Enumerations

EvAnnotationAutoType

An enumeration of annotation label types.

EvAnnotationShape

An enumeration of annotation label shapes.

Functions

CreateSimpleAuto(startPt: EvCoord2D, endPt: EvCoord2D, zOrder?: EvObjectZOrder, shape?: EvAnnotationShape, type?: EvAnnotationAutoType, reset?: boolean): Promise<EvItem>

A function to create an annotation with an autogenerated label.

CreateSimpleLabel(startPt: EvCoord2D, endPt: EvCoord2D, zOrder?: EvObjectZOrder, shape?: EvAnnotationShape, text?: string): Promise<EvItem>

A function to create an annotation with an arbitrary text label.

28 March 2025