←Select platform

RectToPixels Method

Summary

Converts a rectangle from document units to pixels.

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

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

Leadtools.Document Assembly