The direct answer is simple: use windowinfo(frontwindow(),15) with the
thematic map as foremost window. That will give you a string with all the
info to clone the window. The shade statement will contain every thing you
need.

The complete answer is complex because the extraction of the detailed info
(type of thematic, values or value ranges, style attributes) depends on the
thematic itself and in small part on the MI version. I have used that
technique for FixShade (range thematic) and IVT (Individual Value Thematic)
but I am not yet sure that I covered all situations (certainly no check made
passed version 6.5)

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com


-----Original Message-----
From: Ben Crane [mailto:[EMAIL PROTECTED]
Sent: 28-Jul-04 04:01
To: [EMAIL PROTECTED]
Subject: MI-L Obtaining Thematic details using Mapbasic

Hi all,

I thought I'd use a seperate email for this one
instead of piggy-backing off my earlier ones.

Can you use mapbasic to query information about
thematic maps, eg. Colours used in the range, values,
symbols styles, etc? This includes querying legend
layers created from the thematic maps?

If not, has anyone found a way around it and managed
to obtain this information another way?

Regards
Ben




__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12766



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12772

Reply via email to