Converts a value from pixels to document units.
pixelsToDocument = function(resolution, pixels)
static pixelsToDocument(resolution: number, pixels: number): number;
resolution
The resolution to use.
pixels
Source value to convert in pixels.
The converted value in document units.
For more information, refer to Documents Library Coordinate System.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET