MText mt = new MText();
if (startPt.X < endPt.X)
{
mt.Attachment = AttachmentPoint.TopLeft;
}
else if (startPt.X > endPt.X)
{
mt.Attachment = AttachmentPoint.TopRight;
}
MText mt = new MText();
if (startPt.X < endPt.X)
{
mt.Attachment = AttachmentPoint.TopLeft;
}
else if (startPt.X > endPt.X)
{
mt.Attachment = AttachmentPoint.TopRight;
}