[]
        
(Showing Draft Content)

C1.Win.Document.GraphicsHolder.FromDC

FromDC Method

FromDC(IntPtr)

Creates a graphics holder from a device context. When the holder is disposed, both graphics and the device context are released (DeleteDC is called on the device context).

Declaration
public static GraphicsHolder FromDC(IntPtr dc)
Public Shared Function FromDC(dc As IntPtr) As GraphicsHolder
Parameters
Type Name Description
IntPtr dc

The device context from which graphics is created.

Returns
Type Description
GraphicsHolder

The new instance of the graphics holder.