Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
有時必須從文書中移除一個欄位。 當它需要用不同的欄位類型取代,或當該欄位不再有必要於文件中時,才會發生。 例如,儲存到HTML時,使用TOC欄位。
若要從以 DocumentBuilder. InsertField 插入的欄位中移除資料,請使用回傳的 Field 物件,它提供了一個方便的 Remove 方法,可輕鬆將該欄位從文件中移去。
以下程式碼示例範示了如何從文件中移除此欄位:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.