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
IDeviceContextbitmap
IBitmapproperties
SharedBitmapProperties?
Returns
CreateSharedBitmap(IDeviceContext, IBitmap, RectInt32, in SharedBitmapProperties?)
public static IDeviceBitmap CreateSharedBitmap(this IDeviceContext deviceContext, IBitmap bitmap, RectInt32 rect, in SharedBitmapProperties? properties = null)
Parameters
deviceContext
IDeviceContextbitmap
IBitmaprect
RectInt32properties
SharedBitmapProperties?