什么是rtf的空格或制表符 [英] what is rtf for space or tab

查看:149
本文介绍了什么是rtf的空格或制表符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

rtf表示空格或制表符.
rtf表示RTF格式
例如输入Enter的rtf = par
我们希望空间的rtf具有输出格式为

what is rtf for space or tab.
rtf means rich text format
for e.g. rtf for Enter = par
we want rtf for space to have output format as

my name is Astika.
   my name is Astika.

推荐答案

tab的Rtf代码为\tab(不足为奇).

对于空间,为什么需要代码?只需直接使用空格文字即可.
The Rtf code for tab is \tab (not surprising).

For space, why do you need a code? Just use the space literal directly.


您可以轻松地自己解决此类问题.

设置一个带有RTB的简单Windows窗体项目.将一个* .rtf文件加载到其中(周围有很多示例),然后使用
You can quite easily resolve questions like this for yourself.

Set up a simple Windows Forms project with an RTB in it. Load a *.rtf file into it (there are loads of examples around) then by using the RichTextBox.Rtf[^] property you can investigate the ''codes'' applied.


这篇关于什么是rtf的空格或制表符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆