Table of Contents

Class HorizontalLine

Namespace
MiPdf.Layout
Assembly
MiPdf.dll

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

lineWidth double

Line width in points.

color PdfColor?

Line color (default black).

Properties

Color

Line color.

public PdfColor Color { get; set; }

Property Value

PdfColor

LineWidth

Line width in points.

public double LineWidth { get; set; }

Property Value

double