[]
Represents a border of an object.
public class Border : FormattingBag
Gets or sets the border color.
public WordColor Color { get; }
Gets or sets a value indicating whether the specified border should be modified to create a frame effect by reversing the border's appearance from the edge nearest the text to the edge furthest from the text.
public bool FrameEffect { get; set; }
Gets or sets the line style.
public LineStyle LineStyle { get; set; }
If you set the line style to none, the line width is automatically changed to zero. This border can either be an art border (a repeated image along the borders shall only be used for page borders) or a line border (a line format repeated along the borders).
Gets or sets the border width in points.
public float LineWidth { get; set; }
If you set line width greater than zero when line style is none, the line style is automatically changed to single line.
Gets or sets a value indicating whether the border has a shadow.
public bool Shadow { get; set; }
In Microsoft Word, for a border to have a shadow, the borders on all four sides should be of the same type, width, color and all should have the Shadow property set to true.
Gets or sets the distance of the border from text or from the page edge in points.
Has no effect and will be automatically reset to zero for borders of table cells.
public uint Space { get; set; }
Gets or sets a value indicating whether the border is visible.
If set to false, the the line style is is automatically changed to LineStyle.None.
public bool Visible { get; set; }
Resets border properties to default values.
public override void ClearFormatting()