DrawBox
Vectorafbeeldingen, paginabewerking
Beschrijving
Tekent een rechthoek op de geselecteerde pagina
Syntaxis
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 | Horizontale coördinaat van de linkerrand van de rechthoek |
|---|---|
| Top | Verticale coördinaat van de bovenrand van de rechthoek |
| Width | Breedte van de rechthoek |
| Height | Hoogte van de rechthoek |
| DrawOptions | 0 = Omtrek 1 = Vulling 2 = Vulling en omtrek |
Retourwaarden
Retourneert 1 wanneer de rechthoek is getekend.