DrawRoundedBox

Vector graphics, Page layout

Description

Draw a rectangle with rounded corners on the selected page.

Syntax

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

Parameters

LeftHorizontal co-ordinate of left edge of rectangle Vertical co-ordinate of top edge of rectangle
TopRectangle width
Width
HeightRectangle height
RadiusRadius of the corner arcs
DrawOptions0 = Outline 1 = Fill 2 = Fill and outline