[]
Gets the resolution for the specified device context.
public static PointF GetDcDpi(nint dc)
Type | Name | Description |
---|---|---|
nint | dc | The device context to test. |
Type | Description |
---|---|
PointF | A PointF structure where X represents the horizontal, and Y vertical DPI. Empty is returned if an error occurs. |