Hi all,
Before I attempt to use a Windows API function,
does anyone know how to center a text object in a layout window using MapBasic.
The "create text" statement allows the placement
point to be only in the upper left corner of the
text object. I have tried to use objectGeography function to calculate the
extents of the text object, but it gives incorrect results. Next, I tried to
calculate the length of the string based on the number of characters, but failed
due to the variable character size of Windows fonts.
Thanks to anyone who can help.
