Hello Bob,
I'm pretty sure that you can only set label rotation for specific labels,
not all in a layer. Try performing a loop which goes through every object in
your layer. This however, may not be practical for large table.
Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bob Rosen
> Sent: Monday, August 14, 2000 5:45 PM
> To: '[EMAIL PROTECTED]'
> Subject: MI Setting label angles
>
>
> I'm trying to use MapInfo 4.1 (for a legacy application) to rotate
> labels.
>
> A previous set of statements in my application is to set the label
> orientation with:
>
> set map layer ReplayTable Label Position Below (or
> Above/Left/Right)
>
> These are successful.
> I then try to rotate the labels with:
>
> set map layer ReplayTable Label Object LabelID Angle 45
> print "Setting angle of label " & LabelID
>
> the major difference from the previous statement being that if I try to
> set the Angle argument for all labels as with the Position argument, I
> get a pile of compiler errors (starting with "Incomplete or invalid
> label sub-clause").
> The "Setting angle" message appears when I run the application, so I
> know that the Set Map statement is being executed. However, the labels
> never rotate. Any idea why, or what I have to do to get them to
> actually rotate?
>
> Bob Rosen
> Meteor Communications
>
>
> P.S. Thank God that the next version of this application will be using
> the ActiveX interface!
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]