Leadtools.Forms Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ToRectangle Method
See Also 
Leadtools.Forms Namespace > LogicalRectangle Structure : ToRectangle Method



dpiX
Represents the DPI along the x-axis.
dpiY
Represents the DPI along the y-axis.
dpiX
Represents the DPI along the x-axis.
dpiY
Represents the DPI along the y-axis.
Returns a Rectangle that represents this LogicalRectangle structure, converted to its equivalent in .Pixel.

Syntax

Visual Basic (Declaration) 
Public Function ToRectangle( _
   ByVal dpiX As Double, _
   ByVal dpiY As Double _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As LogicalRectangle
Dim dpiX As Double
Dim dpiY As Double
Dim value As Rectangle
 
value = instance.ToRectangle(dpiX, dpiY)
C# 
public Rectangle ToRectangle( 
   double dpiX,
   double dpiY
)
C++/CLI 
public:
Rectangle ToRectangle( 
   double dpiX,
   double dpiY
) 

Parameters

dpiX
Represents the DPI along the x-axis.
dpiY
Represents the DPI along the y-axis.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features