evCreate API 5.7 Help

SetTextDisplay Function

Moves the label to a new given position on the arrow line of a given dimension item from an Envision document currently opened in the Canvas Envision Creator app.

SetTextDisplay( obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], textDisplay: [[[EvDimensionsTextDisplayType|evdimensionstextdisplaytype-enumeration.html]]] ): Promise<void>

Parameters

obj: EvItem

An Object item object, a dimension item from the Envision document currently opened in the Canvas Envision Creator app whose label should be moved to the new given position on the arrow line.

If a given object item is not a dimension, the function throws an error.

textDisplay: EvDimensionsTextDisplayType

A member of the EvDimensionsTextDisplayType enumeration, a new position on the arrow line of the given dimension item where the label should be moved.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the label has been successfully moved to the new given position on the arrow line of the given dimension item in the current document.

31 March 2025