Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Excerpt

This class is used to specify border settings for various entities in a Word document.

Signature
C#
C#
<p> public sealed class Border
Border</p>
Signature
vb.net
vb.net
Public<p>Public NotInheritable Class Border
Border</p>
Remarks

You cannot create a Border object using the new keyword. You must reference an existing Border by using either the Border property of the Font class or the GetBorder(Border.Location) method of one of the following classes: ParagraphFormatting, Section or TableCell.

The following sample gets the Border object for the bottom part of the upper left table cell of the first table in a document.

...

Name

Description

Color

Excerpt Include
WW8:Border.ColorWW8:
Border.Color
nopaneltrue

HasShadow

Excerpt Include
WW8:Border.HasShadowWW8:
Border.HasShadow
nopaneltrue

LineWidth

Excerpt Include
WW8:Border.LineWidthWW8:
Border.LineWidth
nopaneltrue

Padding

Excerpt Include
WW8:Border.PaddingWW8:
Border.Padding
nopaneltrue

Reverse

Excerpt Include
WW8:Border.ReverseWW8:
Border.Reverse
nopaneltrue

Style

Excerpt Include
WW8:Border.StyleWW8:
Border.Style
nopaneltrue
Classes

Name

Description

LineStyle

Excerpt Include
WW8:Border.LineStyleWW8:
Border.LineStyle
nopaneltrue

Location

Excerpt Include
WW8:Border.LocationWW8:
Border.Location
nopaneltrue