The ToSize Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- dpiX
- Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
- dpiY
- Represents the DPI along the y-axis (Height) of the output Leadtools.LeadSize.
Visual Basic (Declaration) | |
---|---|
Public Function ToSize( _ ByVal dpiX As Double, _ ByVal dpiY As Double _ ) As LeadSize |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LogicalSize Dim dpiX As Double Dim dpiY As Double Dim value As LeadSize value = instance.ToSize(dpiX, dpiY) |
Parameters
- dpiX
- Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
- dpiY
- Represents the DPI along the y-axis (Height) of the output Leadtools.LeadSize.
For an example, refer to Equals.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7