Table of Contents

Struct ResolvedBorder

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

A fully-resolved border edge: concrete style token, width, spacing and color. IsVisible is false when no border applies.

public readonly struct ResolvedBorder : IEquatable<ResolvedBorder>
Implements
Inherited Members

Constructors

ResolvedBorder(string?, Twips, Twips, ColorRgb)

Initializes a resolved edge.

Properties

Color

Gets the concrete border color.

IsSpecified

Gets a value indicating whether an edge was written out explicitly, which includes the suppressing "none"/"nil" tokens. Table-cell borders need this to tell "inherit the table-level edge" (absent) from "this cell deliberately has no edge" (nil).

IsVisible

Gets a value indicating whether a visible border applies ("none"/"nil" and absence are invisible).

Space

Gets the spacing between border and content in twips.

Style

Gets the ST_Border style token, or null when no border applies.

Width

Gets the line width in twips.

Methods

Equals(ResolvedBorder)
Equals(object?)
GetHashCode()

Operators

operator ==(ResolvedBorder, ResolvedBorder)

Determines whether two edges are equal.

operator !=(ResolvedBorder, ResolvedBorder)

Determines whether two edges differ.