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 。