Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Czasami konieczne jest usunięcie pola z dokumentu. Może to nastąpić, gdy ma zostać zastąpione innym typem pola lub gdy pole nie jest już potrzebne w dokumencie. Na przykład TOC pole podczas zapisywania do HTML.
Aby usunąć pole wstawione do dokumentu używając DocumentBuilder.InsertField, użyj zwróconego Field obiekt, który zapewnia wygodny Remove metoda łatwego usuwania pola z dokumentu.
Poniższy przykład kodu pokazuje jak usunąć pole z dokumentu:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.