THPDFPage.ShowImageMatrix Method

在目前的 PDF 使用者空間中,以精確的六參數矩陣放置已註冊的 image XObject

宣告

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

參數

名稱用途
ImageIndex由 AddImage、AddImageWithMask 或 AddImageWithSMask API 傳回的索引
A, B, C, D對 image 單位方形做縮放、旋轉、反射或傾斜的線性分量
E, F在目前 PDF 使用者空間中的平移分量

行為

範例

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

相關 API