相关疑难解决方法(0)

WPF TextFormatter中第二行的缩进

我正在使用TextFormatter制作WPF文本编辑器.我需要在每个段落中缩进第二行.

第二行中的缩进宽度应该类似于第一行上第一个单词的宽度,包括第一个单词后面的空格.像这样的东西:

Indent of second line in Indentation Inde
       second line in Indentation Indenta
of second line in Indentation of second l
ine in Indentation of second line in Inde
       ntation of second line in
Run Code Online (Sandbox Code Playgroud)

第二件事:段落的最后一行应该在中心.

如何实现这一目标?

提前致谢!!

.net c# vb.net wpf

9
推荐指数
1
解决办法
734
查看次数

标签 统计

.net ×1

c# ×1

vb.net ×1

wpf ×1