evCreate API 5.7 Help

GetEvCoordinate Function

Converts a given 2D coordinate from the coordinate space of the browser viewport to the coordinate space of the Envision document currently opened in the Canvas Envision Creator app.

GetEvCoordinate(xyViewport: [[[EvCoord2D|evcoord2d-type-alias.html]]]): Promise<[[[EvCoord2D|evcoord2d-type-alias.html]]]>

Parameters

xyViewport: EvCoord2D

An EvCoord2D object, a 2D coordinate in the coordinate space of the browser viewport.

Return value

Promise<EvCoord2D>

A Promise that, if fulfilled, resolves to an EvCoord2D object, which is a 2D coordinate in the coordinate space of the Envision document currently opened in the Canvas Envision Creator app.

06 March 2025