_Document.ResetFormFields 方法

定义

清除文档中的所有窗体域,准备再次填充窗体。Clears all form fields in a document, preparing the form to be filled in again.

public:
 void ResetFormFields();
public void ResetFormFields ();
abstract member ResetFormFields : unit -> unit
Public Sub ResetFormFields ()

注解

使用 ResetFormFields 方法在文档的字段处于未锁定状态时清除字段。Use the ResetFormFields method to clear fields when a document's fields are not locked. 若要在文档的字段处于锁定状态时清除字段,请使用 Protect(WdProtectionType, Object, Object, Object, Object) 方法。To clear fields when a document's fields are locked, use the Protect(WdProtectionType, Object, Object, Object, Object) method.

适用于