MSAccess 富文本编辑工具中的字体限制 [英] Font limitation in MSAccess richtext edit tool

查看:45
本文介绍了MSAccess 富文本编辑工具中的字体限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 MSAccess (2010+) 富文本控件.但是,编辑工具仅提供有限数量的字体点大小,例如6、8、10、12;与在 Word 中编辑相比,提供例如 8,9,10,11,12

Using MSAccess (2010+) richtext control. However, edit tool provides only limited number of font point sizes e.g. 6,8,10, 12; compared to editing within Word that provides e.g 8,9,10,11,12

这让我的客户发疯,因为他们希望使用 11pt 保存文本 - 但此点大小不可用.

This is driving my client mad as they wish to save text using 11pt - but this point size is not available.

有没有其他人注意到这个问题,是否有可能的解决方案

Has anybody else observed this issue and is there a possible solution

推荐答案

不能选择 11pt,因为 Access Richtext(实际上是 HTML)不存储点大小,而是一组固定的 .

You can't select 11pt, because Access Richtext (actually HTML) doesn't store point sizes, but a fixed set of <font size=1> to <font size=7>.

您可以通过添加具有相同控件源的文本框来检查这一点,但 TextFormat = 纯文本.

You can inspect this by adding a textbox with the same control source, but with TextFormat = Plain text.

你可以做的是将富文本框的FontSize属性设置为11.那么所有没有指定字体大小的文本,都会显示在11pt.

What you can do is to set the FontSize property of the rich text box to 11. Then all text where no font size is specified, will be shown at 11pt.

它甚至会在常规文本的格式工具栏中显示 11.

It will even show 11 in the format toolbar for regular text.

这篇关于MSAccess 富文本编辑工具中的字体限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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