PdfDrawLine Method

See Also     Examples     Applies To

Draws a line into the current page of the native pdf created by the PdfNewPdfEx() function.

Syntax

object.PdfDrawLine (nDstX1, nDstY1, nDstX2, nDstY2, nBorderWidth, nRGBColor)

The PdfDrawLine syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nDstX1 Required. Single. The X source in current unit defined by the PdfSetMeasurementUnits() function.
nDstY1 Required. Single. The Y source (from the bottom) in current unit defined by the PdfSetMeasurementUnits() function.
nDstX2 Required. Single. The X destination in current unit defined by the PdfSetMeasurementUnits() function.
nDstY2 Required. Single. The Y destination (from the bottom) in current unit defined by the PdfSetMeasurementUnits() function.
nBorderWidth Required. Single. The with of the pen used to draw the line in point.
nRGBColor Optional. Long. Default value is 0. RBG long value of the color used to draw the line.

Remarks

This function can only be used with the native PDF created by the PdfNewPdfEx() function.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.