PDFKit.NET 4.0 (.NET 4.0)
ImageShape Constructor (Bitmap, Int32, Boolean)
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.
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 188.8.131.52
public ImageShape( Bitmap bitmap, int frameIndex, bool disposeBitmap )
Public Sub New ( bitmap As Bitmap, frameIndex As Integer, disposeBitmap As Boolean )
The bitmap will be disposed by this component (callee)
When setting disposeBitmap to true, the bitmap is disposed when this Image class is released 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