pixelsToDocument Method

Summary

Converts a value from pixels to document units.

Syntax
TypeScript
JavaScript
pixelsToDocument = function( 
   resolution, 
   pixels 
) 
static pixelsToDocument( 
   resolution: number, 
   pixels: number 
): number; 

Parameters

resolution

The resolution to use.

pixels

Source value to convert in pixels.

Return Value

The converted value in document units.

Remarks

For more information, refer to Document Library Coordinate System.

Requirements

Target Platforms

Help Version 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly