Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleDraw an arc using the AngleArc API function in Windows NT
Keywordsarc, angle, API
CategoriesGraphics, API
 
Use the AngleArc API function. Note that the angles are Singles not Doubles as the API viewer says.
 
Private Sub Form_Load()
    AutoRedraw = True
    ScaleMode = vbPixels
    Line (100, 10)-(50, 10)
    AngleArc hdc, 50, 50, 40, 90, 180
End Sub
 
Note that AngleArc is only supported in Windows NT (and probably later versions).
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated