DrawBox

Gráficos vectoriales, manipulación de páginas

Descripción

Dibuja un rectángulo en la página seleccionada

Sintaxis

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

Parámetros

LeftCoordenada horizontal del borde izquierdo del rectángulo
TopCoordenada vertical del borde superior del rectángulo
WidthAncho del rectángulo
HeightAltura del rectángulo
DrawOptions0 = Contorno 1 = Relleno 2 = Relleno y contorno

Valores devueltos

Devuelve 1 cuando el rectángulo se dibujó.