DrawRotatedImage

画像処理、ページレイアウト

説明

DrawImage 関数と似ていますが、画像を任意の角度で回転できます。アンカーポイントは DrawImage 関数のような左上ではなく、画像の左下隅です

構文

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

パラメータ

Leftアンカーポイントの水平座標
Bottomアンカーポイントの垂直座標
Width画像の幅
Height画像の高さ
Angleアンカー点(画像の左下)を中心に、ベースラインから反時計回りの度数で測定した画像の回転角度

戻り値

0画像が選択されていません
1画像が正常に描画されました