ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / DeviceContext Class / Create Method / Create(Surface,CreationProperties) Method
The surface.
The creation properties.

In This Topic
    Create(Surface,CreationProperties) Method
    In This Topic
    Initializes a new instance of the Device class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal surface As Surface, _
       ByVal creationProperties As CreationProperties _
    ) As DeviceContext
    public static DeviceContext Create( 
       Surface surface,
       CreationProperties creationProperties
    )

    Parameters

    surface
    The surface.
    creationProperties
    The creation properties.
    See Also