OMGraphicList extends OMGraphic so in essence your OMGraphicList is in fact
an OMGraphic, just cast you OMGRaphicList to OMGraphic if you need to be
specific e.g.
OMGraphicList myOMGList = ........;
OMGraphic myOMGraphic = (OMGraphic)myOMGList;
Hope this helps
Simon
-----Original Message-----
From: Bryan Tedesco [mailto:btedesco@gestalt-llc.com]
Sent: 06 November 2003 14:15
To: openmap-users@bbn.com
Subject: [OpenMap Users] Create own OMGraphic
Hello,
I am trying to create my own OMGraphic that contains an OMCircle, OMLine ,
OMRect and OMText. I tried and failed. So, I created a class that adds all
of the OMGraphics to a graphic list. Then I use this graphic list
throughout the rest of my code. So I am wondering if anyone can point me
somewhere or help me create this OMGraphic, so that it is a single
OMGraphic? So when I create an object of my class OMnewgraphic. It creates
a single OMGraphic object, instead of an object with an OMGraphicList. I've
looked around and there doesn't seem to be any documentation on how to do
this. Is there any sample code I could look at, or am I missing something?
-Bryan
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Nov 6 11:19:54 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT