DrawRoundedBox

ベクターグラフィックス、ページレイアウト

説明

選択したページに角丸矩形を描画します

構文

Delphi

Function TPDFlib.DrawRoundedBox(Left, Top, Width, Height, Radius: Double; DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawRoundedBox(Left As Double, Top As Double, Width As Double, Height As Double, Radius As Double, DrawOptions As Long) As Long

DLL

int DLDrawRoundedBox(int InstanceID, double Left, double Top, double Width, double Height, double Radius, int DrawOptions);

パラメータ

Left矩形の左端の水平座標
Top矩形の上端の垂直座標
Width矩形の幅
Height矩形の高さ
Radius角の円弧の半径
DrawOptions0 = 輪郭 1 = 塗りつぶし 2 = 塗りつぶしと輪郭

戻り値

角丸の四角形をページコンテンツに追加すると1を返します