ComponentOne Bitmap for WPF
CreateDeviceContext Method (D2D1)

C1.WPF.DX.4 Assembly > C1.Util.DX.Direct2D Namespace > D2D1 Class : CreateDeviceContext Method
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

Reference

D2D1 Class
D2D1 Members