Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PointF OverFlow Error! Help!

Status
Not open for further replies.

554

Technical User
Dec 14, 2005
7
0
0
ZA
Hello!!

I'm currently trying to use a drawlines method to plot a pointF array. The array contains the x y coordinates of the PointF variables. For some or other reason is I try to run the DrawLines(pen, PointFArray) method I get an overflow error on the x values. They are absolutely normal within all bounds single variables. The y coordinate plots just fine on its own. What to do!?
 
New developments :

I can use the x and y coordinates seperate from one another, ie. if I do something arb like drawEllipse(pen, PointFArray(1).Y1, PointFArray(1).Y1, 10, 10) or with only the x coordinates it "works". But I need to have the x and y componets in the same function for the graph to work.

Any help would be great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top