User (Legacy) Posted July 19, 2004 Report Share Posted July 19, 2004 How do I determine the CommandID of the Annotation Toolbar menu item. It looks to be set to CommandID.Last + 1, but I don't know if it's safe to use this. Link to comment Share on other sites More sharing options...
Software FX Posted July 19, 2004 Report Share Posted July 19, 2004 Annotation commands have their own IDs defined under the AnnCommandID enumeration. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 20, 2004 Author Report Share Posted July 20, 2004 I don't see the enumeration for the annotation toolbar command in AnnCommandID. The CommandID of the annotation toolbar menu appears to be CommandID.ReservedFirst (29952). Can I use this value safely or is there a better way to refer to it? Link to comment Share on other sites More sharing options...
Software FX Posted July 20, 2004 Report Share Posted July 20, 2004 I misunderstood your question. The correct way to get this ID is: annotationToolbarID = chart.Commands[(int)CommandID.Toolbars].SubCommandID[1]; After the annotation extension is added to the chart. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.