pixelsToDocument Method

Summary

Converts a value from pixels to document units.

Syntax

JavaScript Syntax
pixelsToDocument = function(resolution, pixels) 
TypeScript Syntax
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 Documents Library Coordinate System.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly