Class HorizontalLine
A horizontal rule.
public sealed class HorizontalLine : LayoutElement
- Inheritance
-
HorizontalLine
- Inherited Members
Constructors
HorizontalLine(double, PdfColor?)
Creates a rule across the available width with 4 points spacing above and below.
public HorizontalLine(double lineWidth = 0.5, PdfColor? color = null)
Parameters
Properties
Color
Line color.
public PdfColor Color { get; set; }
Property Value
LineWidth
Line width in points.
public double LineWidth { get; set; }