Method ViewToPixel
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
ViewToPixel(object)
Converts and returns the given point from view coordinates to pixel coordinates relative to the upper left corner of the drawing area.
public object ViewToPixel(object pt)
Parameters
ptobject
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.
Remarks
You can create a point object using newpoint(double, double, double).