ComponentOne FlexReport for WinForms
GetDcDpi Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : GetDcDpi Method
The device context to test.
Gets the resolution for the specified device context.
Syntax
'Declaration
 
Public Shared Function GetDcDpi( _
   ByVal dc As System.IntPtr _
) As System.Drawing.PointF
public static System.Drawing.PointF GetDcDpi( 
   System.IntPtr dc
)

Parameters

dc
The device context to test.

Return Value

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

Reference

Utils Class
Utils Members