参照写字板的段落缩进,若:
左(L):X
右(R):Y
首行(F):Z
则:
richTextBox.SelectionIndent = X + Z ;
richTextBox.SelectionRightIndent = Y ;
richTextBox.SelectionHangingIndent = -Z ;
版权声明:本文为applerao原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
参照写字板的段落缩进,若:
左(L):X
右(R):Y
首行(F):Z
则:
richTextBox.SelectionIndent = X + Z ;
richTextBox.SelectionRightIndent = Y ;
richTextBox.SelectionHangingIndent = -Z ;