I am setting my DBText's justification, and I cannot seem to set it to Top Centre (defaults back to BaseAlign). All of the others seem to work. I have attached an image.
Am I missing something obvious?
Thanks
You might try the AdjustAlignment method of the DBText object after you've set its new justification and Alignment point.
Something like this?
Me.Text.AdjustAlignment.(Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.WorkingDatabase);
at one time I had a problem with a certain justification, (I don't recall if it was TopCenter or not) I found that the only thing that seemed to work was to set the HorizontalMode and VerticalMode properties, instead of Justify.
Thanks ChiefBrainCloud.
Also, the TopCenter attachment point was only failing for me if the DBText object was annotative.