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



dpiX
Represents the DPI along the x-axis (Width) of the output SizeF.
dpiY
Represents the DPI along the y-axis (Height) of the output SizeF.
dpiX
Represents the DPI along the x-axis (Width) of the output SizeF.
dpiY
Represents the DPI along the y-axis (Height) of the output SizeF.
Returns the SizeF of the LogicalSize, converted to its equivalent values measured in .Pixel.

Syntax

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

Parameters

dpiX
Represents the DPI along the x-axis (Width) of the output SizeF.
dpiY
Represents the DPI along the y-axis (Height) of the output SizeF.

Example

For an example, refer to Equals.

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