TextRunCache.Change(Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在添加、删除或替换文本内容或文本运行属性 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 字符数。