Table of Contents

Method TextField

Namespace
DocWright.Word.Composition
Assembly
DocWright.Word.Composition.dll

TextField(IBlockContainer, string?, TextFormFieldOptions?)

Places a text form field.

public static void TextField(this IBlockContainer container, string? label = null, TextFormFieldOptions? options = null)

Parameters

container IBlockContainer

The container.

label string

Text before the field; null for none.

options TextFormFieldOptions

The field's options; null for Word's defaults.

Exceptions

ArgumentNullException

container is null.

ArgumentException

The container is not one a composition made; an option is refused when the composition is lowered.