ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.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 Nullable(Of CreationProperties) _
    ) As DeviceContext
    public static DeviceContext CreateDeviceContext( 
       Surface dxgiSurface,
       Nullable<CreationProperties> creationProperties
    )

    Parameters

    dxgiSurface
    creationProperties
    See Also