DioDocs for PDF
FromFile メソッド (Image)

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > Image クラス : FromFile メソッド
The file path to the image.
Specifies how the image data is attached to the Image object.
Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Creates an Image from a file. JPEG, PNG, WEBP, GIF, BMP and TIFF formats are supported.
シンタックス
'宣言
 
Public Shared Function FromFile( _
   ByVal path As System.String, _
   Optional ByVal binding As ImageBinding, _
   Optional ByVal frameIndex As System.Integer _
) As Image
public static Image FromFile( 
   System.string path,
   ImageBinding binding,
   System.int frameIndex
)

パラメータ

path
The file path to the image.
binding
Specifies how the image data is attached to the Image object.
frameIndex
Index of an image frame to read, pass 0 for image formats not supporting multiple frames.

戻り値の型

The newly created Image object.
参照

Image クラス
Image メンバ