Up |
_AddPdfPageRectangle
Add a ractangle to a PDF page.
Prototype :
fun [ObjPdfDoc ObjPdfPage [F F] [F F] F I I I I] I
- ObjPdfDoc : a ObjPdfDoc object to detroy
- ObjPdfPage : the page object where the text will be added
- [F F] : the rectangle position in the page (x, y coordinates)
- [F F] : the rectangle size (width, height)
- F : the line width
- I : the line color (RGB)
- I : the fill color
- I : filled : 0 hollow, 1 filled
- I : the align flags is a combinaison of :
- PDF_ALIGN_LEFT
- PDF_ALIGN_RIGHT
- PDF_ALIGN_CENTER
- PDF_ALIGN_TOP
- PDF_ALIGN_BOTTOM
- PDF_ALIGN_MIDDLE
Return : I 0 on success, NIL otherwise
See also :
Example :