FormEditor.CreateNew

FormEditor.CreateNew method

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 method.

public static FormEditor CreateNew(HTMLDocument document)
ParameterTypeDescription
documentHTMLDocumentThe HTMLDocument.

Return Value

Return a new instance of the FormEditor class

See Also