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
containerIBlockContainerThe container.
labelstringText before the field; null for none.
optionsTextFormFieldOptionsThe field's options; null for Word's defaults.
Exceptions
- ArgumentNullException
containeris null.- ArgumentException
The container is not one a composition made; an option is refused when the composition is lowered.