LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.

The ToRectangle Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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

Syntax

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

Parameters

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

Example

For an example, refer to Equals.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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