See Also Examples Applies To
Draws a rectangle into the current page of the native pdf created by the PdfNewPdfEx() function.
Syntax
object.PdfDrawRectangle (nDstX, nDstY, nWidth, nHeight, nBorderWidth, nRGBColor, nRay)
The PdfDrawRectangle 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 draw the rectangle. |
| nRay | Optional. Single. Default value is 0. If <> 0, specifies the ray of bending to bevel the angles in current unit defined by the PdfSetMeasurementUnits() function. |
Remarks
This function can only be used with the native PDF created by the PdfNewPdfEx() function.
Category
PDF Functions