'Declaration Public Shared Function FromStream( _ ByVal stream As System.IO.Stream, _ Optional ByVal ownStream As System.Boolean, _ Optional ByVal frameIndex As System.Integer _ ) As Image
public static Image FromStream( System.IO.Stream stream, System.bool ownStream, System.int frameIndex )
Parameters
- stream
- The input stream.
- ownStream
- Indicates if the input stream should be closed when the Image is disposed.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Return Value
The newly created Image object.