DASaveImageDataToFile

画像処理、直接アクセス機能

説明

画像リスト内の画像をディスク上のファイルに保存します。画像ファイルの種類は画像タイプによって異なります。画像タイプは DAGetImageIntProperty 関数で判定できます

構文

Delphi

Function TPDFlib.DASaveImageDataToFile(FileHandle, ImageListID, ImageIndex: Integer; Const ImageFileName: WideString): Integer;

ActiveX

Function PDFlib::DASaveImageDataToFile(FileHandle As Long, ImageListID As Long, ImageIndex As Long, ImageFileName As String) As Long

DLL

int DLDASaveImageDataToFile(int InstanceID, int FileHandle, int ImageListID, int ImageIndex, const wchar_t * ImageFileName);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル
ImageListIDDAGetPageImageList 関数が返す値。画像のインデックス。リストの最初の画像はインデックス 1。画像数の取得には DAGetImageListCount 関数を使用する
ImageIndex
ImageFileName画像データを格納する作成ファイルのパスと名前