[]
        
(Showing Draft Content)

C1.Win.Document.Utils.GetDcDpi

GetDcDpi Method

GetDcDpi(nint)

Gets the resolution for the specified device context.

Declaration
public static PointF GetDcDpi(nint dc)
Parameters
Type Name Description
nint dc

The device context to test.

Returns
Type Description
PointF

A PointF structure where X represents the horizontal, and Y vertical DPI. Empty is returned if an error occurs.