Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / D2D1 Class / CreateDeviceContext Method

In This Topic
    CreateDeviceContext Method (D2D1)
    In This Topic
    HRESULT D2D1CreateDeviceContext([In] IDXGISurface* dxgiSurface,[In, Optional] const D2D1_CREATION_PROPERTIES* creationProperties,[Out, Fast] ID2D1DeviceContext** d2dDeviceContext)
    Syntax
    'Declaration
     
    Public Shared Function CreateDeviceContext( _
       ByVal dxgiSurface As Surface, _
       ByVal creationProperties As System.Nullable(Of CreationProperties) _
    ) As DeviceContext
    public static DeviceContext CreateDeviceContext( 
       Surface dxgiSurface,
       System.Nullable<CreationProperties> creationProperties
    )

    Parameters

    dxgiSurface
    creationProperties
    See Also