Help me! Friends:
I have got the ObjectID of a Entity of DBtext,and I want to get the AlignmentPoint of the DBText.
The Codes below :
----------------------
Dim ent As Entity = tm.GetObject(id, OpenMode.ForWrite, False)
Dim dbtxt As DBText= CType(ent, DBText)
.....
the value of "dbtxt.textString" is correct
but the value of "dbtxt.AlignmentPoint.Y" is 0 !!!
I don't know Why I can't get the X,Y,Z of the AlignmentPoint
Maybe the issue is "Dim dbtxt As DBText= CType(ent, DBText)",but I don't know how to solve the problem.
please Help me!
Regards!