Method CreateBitmap
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
IBitmap CreateBitmap(int width, int height, in PixelFormat pixelFormat)
Parameters
width int
height int
pixelFormat PixelFormat
Returns
- IBitmap
IBitmap CreateBitmap(int width, int height, in PixelFormat pixelFormat, BitmapAllocationOptions options)
Parameters
width int
height int
pixelFormat PixelFormat
options BitmapAllocationOptions
Returns
- IBitmap
IBitmap CreateBitmap(int width, int height, in PixelFormat pixelFormat, void* pBuffer, int bufferStride, uint bufferSize)
Parameters
width int
height int
pixelFormat PixelFormat
pBuffer void*
bufferStride int
bufferSize uint
Returns
- IBitmap
IBitmap CreateBitmap(int width, int height, in PixelFormat pixelFormat, void* pBuffer, int bufferStride, uint bufferSize, BitmapAllocationOptions options)
Parameters
width int
height int
pixelFormat PixelFormat
pBuffer void*
bufferStride int
bufferSize uint
options BitmapAllocationOptions
Returns
- IBitmap