PdfDrawArc Method

See Also     Examples     Applies To

Draws an arc into the current page of the native pdf created by the PdfNewPdfEx() function.

Syntax

object.PdfDrawArc (nDstX, nDstY, nRay, nBorderWidth, nStartAngle, nEndAngle, nRatio, bPie, nRGBColor)

The PdfDrawArc 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 (from the bottom) of the center of the arc in current unit defined by the PdfSetMeasurementUnits() function.
nDstY Required. Single. The Y destination of the center of the arc in current unit defined by the PdfSetMeasurementUnits() function.
nRay Required. Single. The length of the ray of the circle in unit defined by the PdfSetMeasurementUnits() function.
nBorderWidth Required. Single. The border width in point.
nStartAngle Optional. Long. Default value is 0. Specifies the start angle (degree).
nEndAngle Optional. Long. Default value is 0. Specifies the end angle (degree).
nRatio Optional. Single. Default value is 1. Specifies the ratio between the most greater diameter and that smaller.
bPie Optional. Boolean. Default value is False. Specifies if the arc is a sector (like pie chart).
nRGBColor Optional. Long. Default value is 0. RBG long value of the color used to draw the arc.

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.