rectToDocument Method

Summary

Converts a rectangle from pixels to document units.

Syntax

JavaScript Syntax
Document.prototype.rectToDocument = function(value) 
TypeScript Syntax
rectToDocument(value: LeadRectD): LeadRectD; 

Parameters

value

Source value in pixels.

Return Value

The converted value in document units.

Remarks

This method PixelsToDocument with the resolution value stored in DocumentPages.DefaultResolution.

For more information, refer to Documents Library Coordinate System.

Requirements

Target Platforms

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

Leadtools.Documents Assembly