FormEditor Class
This class represents the editor over the HTMLFormElement that creates a easier way for .net developers to edit the html forms.
Inheritance Hierarchy
SystemObject
  Aspose.Html.FormsFormEditor

Namespace: Aspose.Html.Forms
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax
public class FormEditor : IEnumerable<FormElement>, 
	IEnumerable, IDisposable

The FormEditor type exposes the following members.

Properties
  NameDescription
Public propertyAction
Server-side form handler. See the action attribute definition in HTML 4.01.
Public propertyCount
The number of form controls in the form.
Public propertyForm
The original HTMLFormElement that is associated with current instance of FormEditor.
Public propertyItemInt32
Returns the element by specified index.
Public propertyItemString
Returns the element by specified name or id.
Public propertyMethod
HTTP method [IETF RFC 2616] used to submit form. See the method attribute definition in HTML 4.01.
Methods
  NameDescription
Public methodAddT
Creates a new HTMLElement and adds it to the end of the form.
Public methodAddInput(String)
Creates a new InputElement and adds it to the end of the form.
Public methodAddInput(String, InputElementType)
Creates a new InputElement and adds it to the end of the form.
Public methodStatic memberCreate(HTMLFormElement)
Creates a new FormEditor based on HTMLFormElement.
Public methodStatic memberCreate(HTMLDocument, Int32)
Creates a new FormEditor based on HTMLFormElement selected from the Forms collection by index.
Public methodStatic memberCreate(HTMLDocument, String)
Creates a new FormEditor based on HTMLFormElement selected from the document by id.
Public methodStatic memberCreateNew
Creates a new HTMLFormElement and associated it with FormEditor. HTMLFormElement is created in the detached from the document state; in order to attach it to the document, please select proper location and use AppendChild(Node) method.
Public methodDispose
Releases unmanaged and managed resources.
Public methodEquals (Inherited from Object.)
Public methodFill
This method fills the whole form with the specified values.
Protected methodFinalize (Inherited from Object.)
Public methodGetElementT(Int32)
Returns the element by specified index.
Public methodGetElementT(String)
Returns the element by specified name.
Public methodGetEnumerator
Gets the enumerator.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also