kisoft 发表于 2012-7-10 21:49:00

如何在Section中增加行、段落

通过textControl1.Sections.Add(TXTextControl.SectionBreakKind.BeginAtNewLine)方法可以实现增加一新行并开始新的Section;
我的问题是:
在Section中如何用代码实现增加新行和段落?谢谢

iceman 发表于 2012-7-11 18:16:00

回复 1楼kisoft的帖子

问题正在调查中,明天回复。

ZenosZeng 发表于 2012-7-13 14:55:00

回复 1楼kisoft的帖子

首先设置InputPosition到你需要的位置,然后通过Text来完成添加行和段落

    textControl1.InputPosition = new TXTextControl.InputPosition(1, 1, 1);
    textControl1.Selection.Text = "添加一行";
    textControl1.Selection.Text = "\n";
页: [1]
查看完整版本: 如何在Section中增加行、段落