Enum RuleSegmentKind
What a RuleSegment is, which decides how a renderer puts its thickness on Word's 1/600-inch device grain (WQ-0040, WQ-0054).
public enum RuleSegmentKind : byte
Fields
Other = 0A rule of no particular kind: drawn at its nominal geometry.
Border = 1A paragraph or table border: the thickness truncates to whole grains.
TextDecoration = 2An underline or strikethrough: leading edge and thickness round to whole grains.
Separator = 3The
w:cols/@w:sepcolumn separator: nominal today (WQ-0040(b) is not implemented).
Remarks
Word quantises every painted rule to 1/600 in, but not all the same way: a border's width is truncated to whole grains (0.75 pt draws 0.72; 0.5 pt draws 0.48), while an underline or strikethrough is the face's own metric rounded to whole grains, and its leading edge sits on the grain too. A rule of an unknown kind is drawn at its nominal geometry, which is what every rule was before the kinds existed.