if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase) { // use Position } else { // use AlignmentPoint }
if (text.Justify == AttachmentPoint.BaseLeft) { // use Position } else { // use AlignmentPoint }