ImageMan.Net Version 3 Summer 2012 Release
DrawArc(Pen,Rectangle,Single,Single) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawArc Method : DrawArc(Pen,Rectangle,Single,Single) Method





pen
Pen color and width
rect
Bounding rectangle for entire Ellipse
startAngle
Starting angle for segment of Ellipse
sweepAngle
End angle for end of segment of Ellipse

Glossary Item Box

Draw an arc.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawArc( _
   ByVal pen As System.Drawing.Pen, _
   ByVal rect As System.Drawing.Rectangle, _
   ByVal startAngle As System.Single, _
   ByVal sweepAngle As System.Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim pen As System.Drawing.Pen
Dim rect As System.Drawing.Rectangle
Dim startAngle As System.Single
Dim sweepAngle As System.Single
 
instance.DrawArc(pen, rect, startAngle, sweepAngle)
C# 
public void DrawArc( 
   System.Drawing.Pen pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
)
JScript 
public function DrawArc( 
   pen : System.Drawing.Pen,
   rect : System.Drawing.Rectangle,
   startAngle : System.float,
   sweepAngle : System.float
);
Managed Extensions for C++ 
public: void DrawArc( 
   System.Drawing.Pen* pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
) 
C++/CLI 
public:
void DrawArc( 
   System.Drawing.Pen^ pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
) 

Parameters

pen
Pen color and width
rect
Bounding rectangle for entire Ellipse
startAngle
Starting angle for segment of Ellipse
sweepAngle
End angle for end of segment of Ellipse

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.