Convert logical to world coordinates.
BOOL ViewToWorld( const double * pView, double * pWorld, int nCount, int nDim = 0 )
0 if success.
EX1
void ViewToWorld_ex1() { GraphLayer gl = Project.ActiveLayer(); if( gl ) { double world[2]; double view[2]; world[0] = 3.123456789012345; world[1] = 7.123456789012345; int nError = gl.WorldToView(world, view, 2); nError = gl.ViewToWorld(view, world, 2); } }
Layer::WorldToView
origin.h