if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase){ // use Position}else{ // use AlignmentPoint}
if (text.Justify == AttachmentPoint.BaseLeft){ // use Position}else{ // use AlignmentPoint}
本文共 311 字,大约阅读时间需要 1 分钟。
if (text.HorizontalMode == TextHorizontalMode.TextLeft && text.VerticalMode == TextVerticalMode.TextBase){ // use Position}else{ // use AlignmentPoint}
if (text.Justify == AttachmentPoint.BaseLeft){ // use Position}else{ // use AlignmentPoint}
转载于:https://www.cnblogs.com/swtool/p/8318815.html