Create a new horizontal line with given width and color.
Namespace: TallComponents.PDF.Layout.ParagraphsAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public HorizontalLine( Unit width, Color color ) |
| Visual Basic |
|---|
Public Sub New ( _ width As Unit, _ color As Color _ ) |
Parameters
- width
- Type: TallComponents.PDF.Layout..::..Unit
Width of the line in points or parsable length (eg. 3cm or 40%).
- color
- Type: TallComponents.PDF.Layout.Colors..::..Color
The color of the line.