DioDocs for PDF
FromStream メソッド (Image)

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > Image クラス : FromStream メソッド
The input stream.
Indicates if the input stream should be closed when the Image is disposed.
Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Creates an Image from a stream. JPEG, PNG, WEBP, GIF, BMP and TIFF formats are supported.
シンタックス
'宣言
 
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
)

パラメータ

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.

戻り値の型

The newly created Image object.
参照

Image クラス
Image メンバ