ITextFormattable 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义实现者的协定,以重写对象的文本格式设置属性。
public interface class ITextFormattable
public interface class ITextFormattable
__interface ITextFormattable
public interface ITextFormattable
type ITextFormattable = interface
Public Interface ITextFormattable
注解
这主要由 Completion 希望在语句完成表示器中替代其文本表示形式的实例实现。
方法
| GetHighlightedTextRunProperties(TextRunProperties) |
获取一组文本运行属性,这些属性在突出显示此对象时覆盖用于显示文本的默认集。 |
| GetTextRunProperties(TextRunProperties) |
获取一组 TextRunProperties ,它将重写 TextRunProperties 用于显示此对象的文本的 "默认"。 |