THPDFPage.ShowImageMatrix Method

現在の PDF ユーザー空間で、登録済みのイメージ XObject を正確な 6 パラメータ行列で配置します

宣言

procedure ShowImageMatrix(ImageIndex: Integer; A, B, C, D, E, F: Single);
void __fastcall ShowImageMatrix(int ImageIndex, float A, float B, float C, float D, float E, float F);

ユニット

HPDFDoc

パラメータ

名前目的
ImageIndexAddImage、AddImageWithMask、AddImageWithSMask のいずれかの API が返したインデックス
A, B, C, Dイメージの単位正方形を拡縮・回転・反転・スキューする線形成分
E, F現在の PDF ユーザー空間における並進成分

動作

例

ImageIndex := Document.AddImage(Bitmap, icFlate);
Document.CurrentPage.ShowImageMatrix(
  ImageIndex,
  120, 0,
  0, 80,
  36, 540);

関連 API