[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Border

Border Class

Represents a border of an object.

Inheritance
Border
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Border : FormattingBag
Public Class Border
    Inherits FormattingBag

Properties

Name Description
Color

Gets or sets the border color.

FrameEffect

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.

LineStyle

Gets or sets the line style.

LineWidth

Gets or sets the border width in points.

Shadow

Gets or sets a value indicating whether the border has a shadow.

Space

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.

Visible

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.

Methods

Name Description
ClearFormatting()

Resets border properties to default values.