Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 GetCurrentTransform
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

soundar

51 Posts

Posted - 14 Feb 2013 :  15:09:05  Show Profile  Reply with Quote
Is there a way to get a list of transform objects in a graph without making them global or static variables...i.e something like 'GetCurrentTransform()'

If there is more than one transform attached to a graph, then maybe a function such as GetTransform(0).

quinncurtis

1555 Posts

Posted - 14 Feb 2013 :  17:01:26  Show Profile  Reply with Quote
No, there isn't really a function like that. Because as you describe, it is simple to save one or more coordinate systems as member variables of the encompassing class. You can retrieve the coordinate system for a given plot object (axes, axes labels, line plots, ect.) using the class ChartObjScale property (PhysicalCoordinates transform1 = thePlot1.ChartObjScale;). So, then you only need to save a reference to the plot objects, and not necessarily the coordinate system, though I would think saving them both would be the most useful.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07