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
| Left | Horizontale Koordinate des linken Rechteckrands |
|---|---|
| Top | Vertikale Koordinate des oberen Rechteckrands |
| Width | Rechteckbreite |
| Height | Rechteckhöhe |
| DrawOptions | 0 = Umriss 1 = Füllung 2 = Füllung und Umriss |
Rückgabewerte
Gibt 1 zurück, wenn das Rechteck gezeichnet wurde.