rectToPixels Method

Summary

Converts a rectangle from document units to pixels.

Syntax
TypeScript
JavaScript
LEADDocument.prototype.rectToPixels = function( 
   value 
) 
rectToPixels( 
   value: LeadRectD 
): LeadRectD; 

Parameters

value

Source value in document units.

Return Value

The converted value in pixels.

Remarks

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

For more information, refer to Document Library Coordinate System.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.