Table of Contents

Class DocxBorder

Namespace
PDiffy
Assembly
PDiffy.dll

A border on one side of a paragraph, table or cell.

public sealed record DocxBorder : IEquatable<DocxBorder>
Inheritance
DocxBorder
Implements
Inherited Members

Properties

Color

The color in uppercase hex, such as "000000", or null when Word picks it.

public required string? Color { get; init; }

Property Value

string

Side

The side: "top", "left", "bottom" or "right", "insideH" or "insideV" for the lines between a table's cells, or "between" or "bar" for a paragraph.

public required string Side { get; init; }

Property Value

string

Style

The line style as Word writes it, such as "single", "double" or "dotted"; "none" when it's turned off.

public required string Style { get; init; }

Property Value

string

Width

The line's width in points.

public required double Width { get; init; }

Property Value

double