FormEditor.Create
Contents
[
Hide
]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
- class HTMLFormElement
- class FormEditor
- package com.aspose.html.Forms
- package Aspose.HTML
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
- class HTMLDocument
- class FormEditor
- package com.aspose.html.Forms
- package Aspose.HTML
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
- class HTMLDocument
- class FormEditor
- package com.aspose.html.Forms
- package Aspose.HTML