sizeToDocument Method

Summary

Converts a size from pixels to document units.

Syntax
TypeScript
JavaScript
LEADDocument.prototype.sizeToDocument = function( 
   value 
) 
sizeToDocument( 
   value: LeadSizeD 
): LeadSizeD; 

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 Document Library Coordinate System.

Requirements

Target Platforms

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

Leadtools.Document Assembly