Table of Contents

Method FindFormFields

Namespace
DocWright.Dom.Forms
Assembly
DocWright.Dom.dll

FindFormFields(DomNode)

Finds every legacy form field in a subtree, in document order.

public static IReadOnlyList<FormField> FindFormFields(this DomNode root)

Parameters

root DomNode

The subtree root.

Returns

IReadOnlyList<FormField>

The form fields found.

Exceptions

ArgumentNullException

root is null.

FindFormFields(DomNode, FormFieldKind)

Finds every legacy form field of one kind in a subtree, in document order.

public static IReadOnlyList<FormField> FindFormFields(this DomNode root, FormFieldKind kind)

Parameters

root DomNode

The subtree root.

kind FormFieldKind

The kind to keep.

Returns

IReadOnlyList<FormField>

The matching form fields.

Exceptions

ArgumentNullException

root is null.