DrawRotatedImage
Penanganan gambar, Tata letak halaman
Deskripsi
Mirip fungsi DrawImage tetapi image bisa dirotasi pada sudut berapa pun. Perhatikan bahwa titik anchor-nya pojok kiri bawah image, bukan kiri atas seperti pada fungsi DrawImage
Sintaks
Delphi
Function TPDFlib.DrawRotatedImage(Left, Bottom, Width, Height, Angle: Double): Integer;
ActiveX
Function PDFlib::DrawRotatedImage(Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double) As Long
DLL
int DLDrawRotatedImage(int InstanceID, double Left, double Bottom, double Width, double Height, double Angle);
Parameter
| Left | Koordinat horizontal titik anchor |
|---|---|
| Bottom | Koordinat vertikal titik anchor |
| Width | Lebar image |
| Height | Tinggi image |
| Angle | Sudut rotasi image, diukur berlawanan arah jarum jam dalam derajat dari baseline, terhadap titik anchor (kiri bawah image) |
Nilai kembalian
| 0 | Belum ada image yang dipilih |
|---|---|
| 1 | Image berhasil digambar |