如何从具有特定字体系列的字符串生成器生成文本文件 [英] How to generate text file from string builder with particular font family

查看:99
本文介绍了如何从具有特定字体系列的字符串生成器生成文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何从具有特定字体系列的字符串生成器生成文本文件.
我的要求是使用Courier字体家族和特定字体大小生成文件.

谢谢

Hi
How to generate text file from string builder with particular font family.
my requirment is file is generated with courier font family and with particular font size.

Thanks

推荐答案

文本文件和stringbuilder与字体和字体大小无关.文本文件不包含有关字体或其他标记的信息.您需要将其存储为rtf,pdf,html或任何您喜欢的文件格式,并支持在其中添加标记.

祝你好运!
a text file and stringbuilder have nothing to do with fonts and font sizes. A text file has no information on fonts or other markup. You would need to store it as rtf, pdf, html or whatever file format you like and supports adding markup to it.

Good luck!


这篇关于如何从具有特定字体系列的字符串生成器生成文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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