Constructor ImageShape
Namespace TallComponents.PDF.Shapes
Class ImageShape
Create a new ImageShape from a stream of binary data.
Syntax
public ImageShape(Stream stream, Int32 frameIndex, Boolean disposeStream)
Parameters
Stream
stream
The stream containing the binairy image data.
Int32
frameIndex
0-based frame index.
Boolean
disposeStream
The stream will be disposed by this component.
When setting disposeStream to true, the stream will disposed after the Image instance has been released from memory. Note that if this instance of the stream is used multiple times an error will be thrown if the stream is used after this Image class is removed from memory.