←Select platform

RectToDocument Method

Summary

Converts a rectangle from pixels to document units.

Syntax
C#
VB
C++
Java
public LeadRectD RectToDocument( 
   LeadRect value 
) 
Public Function RectToDocument( 
   ByVal value As LeadRect 
) As LeadRectD 
public:  
   LeadRectD^ RectToDocument( 
      LeadRect^ value 
   ) 
public LeadRectD rectToDocument(LeadRect value) 

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.2019.12.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly