Table of Contents

Method WorldToPixel

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

WorldToPixel(object)

Converts and returns the given point from world coordinates to pixel coordinates relative to the upper left corner of the drawing area.

public object WorldToPixel(object worldPT)

Parameters

worldPT object

The point in world coordinates to be converted.

Returns

object

A two sized array that contains the x and y values of the converted point in pixels relative to the upper left corner of the drawing area.