Constructor Image

Namespace TallComponents.PDF.Layout.Paragraphs
Class Image

Initialize a new instance of the image class from a stream of binary data.

Syntax

public  Image( Stream  stream Int32  frameIndex Boolean  disposeStream )

Parameters


Stream stream
The stream containing the binary image data.

Int32 frameIndex
0-based frame index.

Boolean disposeStream
The stream will be disposed by this component.

Create a new Image from a stream of binary data. When setting disposeStream to true, the stream is disposed when this Image class is 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.