DrawScaledImage
画像処理、ページレイアウト
説明
選択した画像をページに描画します。水平解像度と垂直解像度をともに 72 DPI と仮定し、指定した倍率で画像を描画します
構文
Delphi
Function TPDFlib.DrawScaledImage(Left, Top, Scale: Double): Integer;
ActiveX
Function PDFlib::DrawScaledImage(Left As Double, Top As Double, Scale As Double) As Long
DLL
int DLDrawScaledImage(int InstanceID, double Left, double Top, double Scale);
パラメータ
| Left | 画像の左端の水平座標 |
|---|---|
| Top | 画像上端の垂直座標 |
| Scale | 使用する倍率。例: 0.5 = 50% 1 = 100% |
戻り値
| 0 | 画像が選択されていません |
|---|---|
| 1 | 画像が正常に描画されました |