Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.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