ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / Device Class / Create Method / Create(Factory1,Device) Method

The Factory1 object used when creating the Device.

The C1.Util.DX.DXGI.Device object used when creating the Device.


In This Topic
    Create(Factory1,Device) Method
    In This Topic
    Initializes a new instance of the Device class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory1, _
       ByVal device As Device _
    ) As Device
    public static Device Create( 
       Factory1 factory,
       Device device
    )

    Parameters

    factory

    The Factory1 object used when creating the Device.

    device

    The C1.Util.DX.DXGI.Device object used when creating the Device.

    Remarks
    Each call to CreateDevice returns a unique Device object.The C1.Util.DX.DXGI.Device object is obtained by calling QueryInterface on an ID3D10Device or an ID3D11Device.
    See Also