WPF 之InsertBefore 與 InsertAfter用

     在Blocks中插入某一個block,使用Document.Blocks.InsertBefore或者m_editor.Document.Blocks.InsertAfter,

public void InsertAfter(
    TextElementType previousSibling,
    TextElementType newItem
)
public void InsertBefore(
    TextElementType nextSibling,
    TextElementType newItem
)
發佈了123 篇原創文章 · 獲贊 14 · 訪問量 29萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章