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
| Left | Horizontal co-ordinate of left edge of rectangle Vertical co-ordinate of top edge of rectangle |
|---|---|
| Top | Rectangle width |
| Width | |
| Height | Rectangle height |
| DrawOptions | 0 = Outline 1 = Fill 2 = Fill and Outline |