See Also Examples Applies To
Draws a filled rectangle into the current page of the native pdf created by the PdfNewPdfEx() function.
Syntax
object.PdfDrawFillRectangle (nDstX, nDstY, nWidth, nHeight, nBorderWidth, nRGBColor, nRay)
The PdfDrawFillRectangle syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nDstX | Required. Single. The X destination in current unit defined by the PdfSetMeasurementUnits() function. |
| nDstY | Required. Single. The Y destination (from the bottom) in current unit defined by the PdfSetMeasurementUnits() function. |
| nWidth | Required. Single. Width in current unit defined by the PdfSetMeasurementUnits() function. |
| nHeight | Required. Single. Height in current unit defined by the PdfSetMeasurementUnits() function. |
| nBorderWidth | Required. Single. The border width in point. |
| nRGBColor | Optional. Long. Default value is 0. RBG long value of the color used to fill the rectangle. |
| nRay | Optional. Single. Default value is 0. If <> 0, specifies the ray of the curve used to round the borders of the rectangle. |
Remarks
This function can only be used with the native PDF created by the PdfNewPdfEx() function.
Category
PDF Functions