Create

Create(HTMLFormElement)

Creates a new FormEditor based on HTMLFormElement.

public static FormEditor Create(HTMLFormElement form)
Parameter Type Description
form HTMLFormElement The html form element

Return Value

Return a new instance of the FormEditor class

See Also


Create(HTMLDocument, int)

Creates a new FormEditor based on HTMLFormElement selected from the Forms collection by index.

public static FormEditor Create(HTMLDocument document, int index)
Parameter Type Description
document HTMLDocument The document.
index Int32 The index inside the forms collection.

Return Value

Return a new instance of the FormEditor class

Exceptions

exception condition
DOMException The exception is occured if index out of the range.

See Also


Create(HTMLDocument, string)

Creates a new FormEditor based on HTMLFormElement selected from the document by id.

public static FormEditor Create(HTMLDocument document, string id)
Parameter Type Description
document HTMLDocument The document.
id String The identifier.

Return Value

Return a new instance of the FormEditor class

Exceptions

exception condition
DOMException The exception is occured if there is no element by specified Id or element is not a form type.

See Also