Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Device Class / Create Method / Create(Factory1,Device) Method

The Factory1 object used when creating the Device.

The GrapeCity.Documents.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 GrapeCity.Documents.DX.DXGI.Device object used when creating the Device.

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