Constructor ImageShape
Namespace TallComponents.PDF.Shapes
Class ImageShape
Create a new ImageShape from a System.Drawing.Bitmap. This constructor allows you to draw to a GDI+ surface and pass it to the ImageShape class without intermediate, temporary file.
Syntax
public ImageShape(Bitmap bitmap, Boolean disposeBitmap)
Parameters
Bitmap
bitmap
In-memory GDI+ bitmap object.
Boolean
disposeBitmap
The bitmap will be disposed by this component (callee)
The frame index will be 0, not the current active frame index When setting disposeBitmap to true, the bitmap is disposed when this Image class is release from memory. Note that if this instance of the bitmap is used multiple times an error will be thrown if this bitmap is used after this Image class is removed from memory.