Table of Contents

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

ptX int

The x value of the point in pixels relative to the upper left corner of the drawing area.

ptY int

The 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.