DrawBox

Vector graphics, Page manipulation

Description

Draw a rectangle on the selected page.

Syntax

Delphi

function TPDFlib.DrawBox(Left, Top, Width, Height: Double; DrawOptions: Integer): Integer;

ActiveX

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

DLL

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

Parameters

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