[]
Converts pixels to points.
public static double ToPoints(double pixels)
Type | Name | Description |
---|---|---|
double | pixels | Measurement in pixels. |
Type | Description |
---|---|
double | Measurement in points. |
Converts pixels to points.
public static Size ToPoints(Size szPixels)
Type | Name | Description |
---|---|---|
Size | szPixels | The size in pixels. |
Type | Description |
---|---|
Size | The size in points. |
Converts pixels to points.
public static Rect ToPoints(Rect rcPixels)
Type | Name | Description |
---|---|---|
Rect | rcPixels | The rectangle in pixels. |
Type | Description |
---|---|
Rect | The rectangle in points. |