Show / Hide Table of Contents

Constructor MemoryBitmap.MemoryBitmap(+ 1 overload)


Overload

Does nothing. Later you can call MemoryBitmap.Create or MemoryBitmap.Attach.

public MemoryBitmap()

Overload(top)

Calls MemoryBitmap.Create.

public MemoryBitmap(int width, int height)
Parameters
width  (int)
height  (int)
Exceptions
ArgumentException

width or height is less than 1.

AuException

Failed. Probably there is not enough memory for bitmap of specified size (need with*height*4 bytes).