THPDFPage.ShowImageMatrix Method

Places a registered image XObject through an exact six-parameter matrix in the current PDF user space

Declaration

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);

Unit

HPDFDoc

Parameters

NamePurpose
ImageIndexIndex returned by an AddImage, AddImageWithMask, or AddImageWithSMask API
A, B, C, DLinear components that scale, rotate, reflect, or shear the image unit square
E, FTranslation components in the current PDF user space

Behavior

Example

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

Related APIs