Table of Contents

Method CheckBox

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

CheckBox(IBlockContainer, string?, CheckBoxFormFieldOptions?)

Places a check-box form field.

public static void CheckBox(this IBlockContainer container, string? label = null, CheckBoxFormFieldOptions? options = null)

Parameters

container IBlockContainer

The container.

label string

Text before the box; null for none.

options CheckBoxFormFieldOptions

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

Exceptions

ArgumentNullException

container is null.