Constructor Image
Namespace TallComponents.PDF.Layout.Paragraphs
Class Image
Initialize a new instance of the image class from a GDI+ bitmap and select the frame index.
Syntax
public Image(Bitmap bitmap, Int32 frameIndex, Boolean disposeBitmap)
Parameters
Bitmap
bitmap
GDI+ bitmap
Int32
frameIndex
0-based frame index.
Boolean
disposeBitmap
The bitmap will be disposed by this component (callee)
Create a new image from a GDI+ bitmap, select the frame index and specify if the bitmap must be disposed by the callee.
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.