文件名字体/字体颜色 [英] File name font/font color

查看:253
本文介绍了文件名字体/字体颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在[VC6]中更改文件名的字体或字体颜色?
该文件的类型为txt/xls/doc.操作系统是Windows XP SP3.
在此先感谢.

Is it possible to change the font or font color of a file name[in VC6]?
The file is of type txt/xls/doc. The OS is Windows XP SP3.
Thanks in Advance.

推荐答案

颜色不是字体的属性(即使某些UI可能会在"font"属性下显示文本颜色的选择;这是只是为了方便).颜色是结构化文档的结构元素或此类文档的样式的属性,例如整个文档,段落或电子表格单元格.

您可以在Microsoft Office文档中单独控制此属性,在字体中单独控制.请参阅以获取更多信息: http://msdn.microsoft.com/zh-我们/library/bb726434(v=office.12).aspx [
Color is not a property of the font (even though some UI may show selection of the text color under the "font" property; this is done just for convenience). Color is the attribute of the element of structure of the structured document or a style of such document, such as whole document, paragraph or spreadsheet cell.

You can control this property in Microsoft office document separately, the font separately. See for more information: http://msdn.microsoft.com/en-us/library/bb726434(v=office.12).aspx[^]. You should understand that font or color information is not the attribute of any file, but can only be the attribute of the document (but more likely of the structure elements of a document).

Text files containing unstructured text (I mean the text not formed as XML, HTML or something like that) contain no information of fonts, colors or any other formatting/presentation properties.

—SA


这篇关于文件名字体/字体颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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