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
widthdoubleThe 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
Returns
- IBlockContainer
This container, for chaining.
Exceptions
- ArgumentOutOfRangeException
The width is negative or not finite.