It would seem a simple matter using the command
AddDrawingLabel (DrawHandle int, string Text, uint Color, double x, double y, tkHJustification hJustification)
but to me it is not working.
He always says "property or module not supported by the OBJECT."
For ease of understanding, I show you the code that is wrong:
AddDrawingLabel (DrawHandle int, string Text, uint Color, double x, double y, tkHJustification hJustification)
but to me it is not working.
He always says "property or module not supported by the OBJECT."
For ease of understanding, I show you the code that is wrong:
LastrinaObj1 = Map0.NewDrawing (dlSpatiallyReferencedList)
Map0.DrawPointEx LastrinaObj1, Xx, Yy, 3, RGB (255, 0, 0) 'ok
Map0.DrawCircleEx LastrinaObj1, Xx, Yy, 0.0001, RGB (255, 0, 0), False 'ok
Map0.DrawCircleEx LastrinaObj1, Xx, Yy, 0.0003, RGB (255, 0, 0), False 'ok
Map0.DrawCircleEx LastrinaObj1, Xx, Yy, 0.0006, RGB (255, 0, 0), False 'ok
Map0.AddDrawingLabel LastrinaObj1, "AAAA", RGB(255, 0, 0), Xx, Yy, tkLabelAlignment.laCenter 'KO!!!
What is my mistake?