_textControl.ParagraphFormat.Alignment = TXTextControl.HorizontalAlignment.Center
_textControl.Text = "这是标题\v"
_textControl.Select(0, "这是标题\v".Length)
_textControl.Selection.FontSize = 200
_textControl.Select("这是标题\v".Length + 2, 1)
_textControl.Selection.Text = M_MSG '这是正文内容
' Dim p As TXTextControl.Paragraph = _textControl.Paragraphs(1)
_textControl.Select(M_MSG.Length, 1)
_textControl.Images.Add(New TXTextControl.Image(bm), _textControl.Selection.Start)
我想要的是这种效果:
实际是这种效果!代码写的有问题吗?
回车符、设置字体大小、居中、都没作用 |