Table of Contents

Method ConstantItem

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

ConstantItem(double, Unit)

Adds an item of a fixed width.

IBlockContainer ConstantItem(double width, Unit unit = Unit.Point)

Parameters

width double

The width.

unit Unit

The unit the width is expressed in.

Returns

IBlockContainer

The item's block container.

Exceptions

ArgumentOutOfRangeException

The width is not a positive finite number.