語言

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 。

適用於