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
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
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
Width
The line's width in points.
public required double Width { get; init; }