ImageShape Constructor (Bitmap, Int32)

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.

Namespace:  TallComponents.PDF.Shapes
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version:
public ImageShape(
	Bitmap bitmap,
	int 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.
See Also