ITextFormattable 接口

定义

定义实现者的协定,以重写对象的文本格式设置属性。

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 用于显示此对象的文本的 "默认"。

适用于