Aspose::Words::Fields::FormFieldCollection class

FormFieldCollection class

A collection of FormField objects that represent all the form fields in a range. To learn more, visit the Working with Form Fields documentation article.

class FormFieldCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Fields::FormField>>

Methods

MethodDescription
Clear()Removes all form fields from this collection and from the document.
GetEnumerator() overrideReturns an enumerator object.
Remove(const System::String &)Removes a form field with the specified name.
RemoveAt(int32_t)Removes a form field at the specified index.
get_Count()Returns the number of form fields in the collection.
idx_get(const System::String &)Returns a form field by bookmark name.
idx_get(int32_t)Returns a form field at the specified index.

See Also