Table of Contents

Method ToBitmap

Namespace
PaintDotNet
Assembly
PaintDotNet.Windows.Core.dll

ToBitmap<TPixel>(RegionPtr<TPixel>)

public static IBitmap<TPixel> ToBitmap<TPixel>(this RegionPtr<TPixel> region) where TPixel : unmanaged, INaturalPixelInfo

Parameters

region RegionPtr<TPixel>

Returns

IBitmap<TPixel>

Type Parameters

TPixel

ToBitmap<TPixel>(RegionPtr<TPixel>, BitmapAllocationOptions)

public static IBitmap<TPixel> ToBitmap<TPixel>(this RegionPtr<TPixel> region, BitmapAllocationOptions options) where TPixel : unmanaged, INaturalPixelInfo

Parameters

region RegionPtr<TPixel>
options BitmapAllocationOptions

Returns

IBitmap<TPixel>

Type Parameters

TPixel