如何在Section中增加行、段落
通过textControl1.Sections.Add(TXTextControl.SectionBreakKind.BeginAtNewLine)方法可以实现增加一新行并开始新的Section;我的问题是:
在Section中如何用代码实现增加新行和段落?谢谢 回复 1楼kisoft的帖子
问题正在调查中,明天回复。 回复 1楼kisoft的帖子
首先设置InputPosition到你需要的位置,然后通过Text来完成添加行和段落
textControl1.InputPosition = new TXTextControl.InputPosition(1, 1, 1);
textControl1.Selection.Text = "添加一行";
textControl1.Selection.Text = "\n";
页:
[1]