FillImageBlock

ブロック、インタラクション

説明

登録済み画像を矩形へ描画して画像ブロックをパーソナライズします

構文

Delphi

Function FillImageBlock(Page, BlockIndex: Integer; ImageID: Integer;
  Options: Integer): Integer;

ActiveX

Function PDFlib::FillImageBlock(Page As Long, BlockIndex As Long, ImageID As Long, Options As Long) As Long

DLL

int DLFillImageBlock(int InstanceID, int Page, int BlockIndex, int ImageID, int Options);

パラメータ

Page, BlockIndexブロックの選択
ImageIDAddImage 系エントリポイントが返す画像 ID
Optionsビット 1 で、入力成功後にブロック注釈を削除します。ビット 2 で、アスペクト比を保たずに矩形いっぱいへ引き伸ばします

戻り値

画像を配置できたら 1。ブロックが存在しない、画像ブロックでない、画像 ID が無効の場合は 0

備考

画像は矩形の中央に配置され、以前の画像選択は復元されます

関連項目

GetBlockCount, AddBlock, GetBlockType, GetBlockRect