Table of Contents

Method CreateBitmapDeviceContext

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateBitmapDeviceContext(IBitmap, in DeviceContextProperties)

Creates a device context that renders to a IBitmap.

IDeviceContext CreateBitmapDeviceContext(IBitmap target, in DeviceContextProperties deviceContextProperties)

Parameters

target IBitmap
deviceContextProperties DeviceContextProperties

Returns

IDeviceContext