You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > Low-level Functions > PdfDrawArc Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfDrawArc Method

Draws an arc into the current page of a PDF.

C#
public PdfDrawArc(
    int PdfID, 
    Single DstX, 
    Single DstY, 
    Single Ray, 
    Single BorderWidth, 
    Color PenColor, 
    Single StartAngle, 
    Single EndAngle, 
    Single Ratio, 
    Boolean Pie
);
Visual Basic
Public Sub PdfDrawArc(
    ByVal PdfID As Integer, 
    ByVal DstX As Single, 
    ByVal DstY As Single, 
    ByVal Ray As Single, 
    ByVal BorderWidth As Single, 
    ByVal PenColor As Color, 
    ByVal StartAngle As Single, 
    ByVal EndAngle As Single, 
    ByVal Ratio As Single, 
    ByVal Pie As Boolean
)
Parameters
Parameters 
Description 
PdfID 
A PDF identifier returned by the PdfNewPdf(), PdfOCRStart(), PdfOcrStartStream(), TwainPDFStart() or TwainPdfStartStream() function. 
DstX 
The X destination of the center of the arc in current unit defined by the PdfSetMeasurementUnit() function.  
DstY 
The Y destination (from the bottom) of the center of the arc in current unit defined by the PdfSetMeasurementUnit() function.  
Ray 
The length of the ray of the circle in unit defined by the PdfSetMeasurementUnit() function.  
BorderWidth 
The border width in point.  
PenColor 
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the arc.  
StartAngle 
Specifies the start angle (degree). Usually 0.  
EndAngle 
Specifies the end angle (degree). Usually 360.  
Ratio 
Specifies the ratio between the most greater diameter and that smaller. Usually 1.  
Pie 
Set to True if the arc is a sector (like pie chart).  
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.