Table of Contents

Method CreateSharedBitmap

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

CreateSharedBitmap(IDeviceContext, IBitmap, in SharedBitmapProperties?)

public static IDeviceBitmap CreateSharedBitmap(this IDeviceContext deviceContext, IBitmap bitmap, in SharedBitmapProperties? properties = null)

Parameters

deviceContext IDeviceContext
bitmap IBitmap
properties SharedBitmapProperties?

Returns

IDeviceBitmap

CreateSharedBitmap(IDeviceContext, IBitmap, RectInt32, in SharedBitmapProperties?)

public static IDeviceBitmap CreateSharedBitmap(this IDeviceContext deviceContext, IBitmap bitmap, RectInt32 rect, in SharedBitmapProperties? properties = null)

Parameters

deviceContext IDeviceContext
bitmap IBitmap
rect RectInt32
properties SharedBitmapProperties?

Returns

IDeviceBitmap