I have a question,
I want to print a Map Title in the upper left corner of my Layout
Template.
This is my method:
1) I bring the text string from a SQL table into Mapinfo. This is done
automatic.
2) I cannot code in MapBasic how to get this string placed into the
upper left corner.
However, I can already make the frame where my text should be.
I can also do this by manually replacing the text of the title, but I
want to do this automaticly
How to do this?
I hope you can help me.
Have a look at the Create Text statement in MapBasic help, this will
allow you to create a text object in the layout.
Something along the lines of:
Create Text
Into Window layout_window_id
string_variable_pulled_from_sql
(x1, y1) (x2, y2)
Font...
etc...
The X & Y coords are float distances from the top left corned in
whichever coordinate system you've specified for your layout. The
first xy contain the important measurements, the second set aren't so
important - just make sure they leave enough space for the text to
appear within their bounds.
Ti.
Isabella
http://www.sgsi.com/MIUserGroup/WorEditing_PhilWoods/Workspace-Presentation.htm
- Bill