Converts this LogicalSize structure to the specified unit of measure.
sourceDpiX
Represents the DPI of the source value along the x-axis (width). This value is only used if the source unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
sourceDpiY
Represents the DPI of the source value along the y-axis (height). This value is only used if the source unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
destinationUnit
The unit of measurement of the destination value.
destinationDpiX
Represents the DPI of the destination value along the x-axis (width). This value is only used if the source unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
destinationDpiY
Represents the DPI of the destination value along the x-axis (width). This value is only used if the source unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
The specified LogicalUnit is used to do the actual conversion.
This example creates a new LogicalSize structure in inches then converts it to pixels.