Method PixelToWorld
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
PixelToWorld(int, int)
Converts and returns the given point from pixel (relative to the upper left corner of the drawing area) coordinates to world coordinates.
public object PixelToWorld(int ptX, int ptY)
Parameters
ptXintThe x value of the point in pixels relative to the upper left corner of the drawing area.
ptYintThe y value of the point in pixels relative to the upper left corner of the drawing area.
Returns
- object
A 3 sized array object that contains the x, y and z values of the given point in world coordinates.