简体   繁体   English

C#Richtext框如何在Winform中设置文本边距

[英]c# Richtext box how to set text margin in winform

I am using Richtext box in winform to load an rtf file. 我在winform中使用Richtext框加载rtf文件。

the text align in rtf file is justify, however after loaded in richtext box it just left aligned. rtf文件中的文本对齐是合理的,但是在Richtext框中加载后,它只是保持对齐。 I wonder is there any method to set the justify align in richtext box. 我想知道是否有任何方法可以在RTF文本框中设置对齐对齐方式。

And i can't find a property to set text margin inside the richtextbox.is there anyone know how to solve this problem? 而且我找不到在richtextbox中设置文本边距的属性。有没有人知道如何解决这个问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM