Discards old bitmap data and creates new bitmap of given dimensions, pixel format and palette.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Create ( _ width As Single, _ height As Single, _ format As PixelFormat, _ palette As ColorPalette _ )
public void Create( float width, float height, PixelFormat format, ColorPalette palette )
Type: System.Single
Width of new bitmap (in pixels).Type: System.Single
Height of new bitmap (in pixels).Type: Aurigma.GraphicsMill.ColorPalette
Palette attached to new bitmap.This palette object is binded to bitmap, not copied. It means that if you later change anything in palette object, changes will be reflected in the palette of bitmap.