ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / DeviceContext Class / Create Method / Create(Device,DeviceContextOptions) Method
The device.
The options to be applied to the created device context.

In This Topic
    Create(Device,DeviceContextOptions) Method
    In This Topic
    Initializes a new instance of the DeviceContext class using an existing Device.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal options As DeviceContextOptions _
    ) As DeviceContext
    public static DeviceContext Create( 
       Device device,
       DeviceContextOptions options
    )

    Parameters

    device
    The device.
    options
    The options to be applied to the created device context.
    Remarks
    The new device context will not have a selected target bitmap. The caller must create and select a bitmap as the target surface of the context.
    See Also