Table of Contents

Method Border

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

Border(double)

Draws a border around the content — paragraph borders on a block, cell borders inside a table.

IBlockContainer Border(double width)

Parameters

width double

The line width in points.

Returns

IBlockContainer

This container, for chaining.

Exceptions

ArgumentOutOfRangeException

The width is negative or not finite.

Border(double, ColorRgb)

Draws a coloured border around the content.

IBlockContainer Border(double width, ColorRgb color)

Parameters

width double

The line width in points.

color ColorRgb

The line colour.

Returns

IBlockContainer

This container, for chaining.

Exceptions

ArgumentOutOfRangeException

The width is negative or not finite.