Constructor ImageShape
Namespace TallComponents.PDF.Shapes
Class ImageShape
Create a new ImageShape from a System.Drawing.Bitmap and select a frame index. 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, Int32 frameIndex)
Parameters
Bitmap
bitmap
In-memory GDI+ bitmap object.
Int32
frameIndex
0-based frame index.
The referenced bitmap must be disposed by the client (caller) after the pdf document (page with this Image) is written.