DrawBox

Vektorgrafik, Seitenbearbeitung

Beschreibung

Zeichnet ein Rechteck auf der ausgewählten Seite.

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

Parameter

LeftHorizontale Koordinate des linken Rechteckrands
TopVertikale Koordinate des oberen Rechteckrands
WidthRechteckbreite
HeightRechteckhöhe
DrawOptions0 = Umriss 1 = Füllung 2 = Füllung und Umriss

Rückgabewerte

Gibt 1 zurück, wenn das Rechteck gezeichnet wurde.