[]
Converts pixels to points.
public static float ToPoints(float pixels)
Public Shared Function ToPoints(pixels As Single) As Single
| Type | Name | Description |
|---|---|---|
| float | pixels | Measurement in pixels. |
| Type | Description |
|---|---|
| float | 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. |