语言

TextRunCache.Change(Int32, Int32, Int32) 方法

定义

在添加、删除或替换文本内容或文本运行属性 TextRun 时,通知文本引擎客户端对缓存的更改。

public:
 void Change(int textSourceCharacterIndex, int addition, int removal);
public void Change(int textSourceCharacterIndex, int addition, int removal);
member this.Change : int * int * int -> unit
Public Sub Change (textSourceCharacterIndex As Integer, addition As Integer, removal As Integer)

参数

textSourceCharacterIndex
Int32

指定 TextSource 更改开始处的字符索引位置。

addition
Int32

指示要添加的 TextSource 字符数。

removal
Int32

指示要删除的 TextSource 字符数。

适用于