[]
Converts pixels to points.
public static double ToPoints(double pixels)
Public Shared Function ToPoints(pixels As Double) As Double
| Type | Name | Description |
|---|---|---|
| double | pixels | Measurement in pixels. |
| Type | Description |
|---|---|
| double | Measurement in points. |
Converts pixels to points.
public static SizeF ToPoints(SizeF szPixels)
Public Shared Function ToPoints(szPixels As SizeF) As SizeF
| Type | Name | Description |
|---|---|---|
| SizeF | szPixels | The size in pixels. |
| Type | Description |
|---|---|
| SizeF | The size in points. |
Converts pixels to points.
public static RectangleF ToPoints(RectangleF rcPixels)
Public Shared Function ToPoints(rcPixels As RectangleF) As RectangleF
| Type | Name | Description |
|---|---|---|
| RectangleF | rcPixels | The rectangle in pixels. |
| Type | Description |
|---|---|
| RectangleF | The rectangle in points. |