Microsoft Word Suite
72
distance from top
Returns or sets the space (in points) between the text and the top border. Read/write.
Note Using this property with a page border, you can set either the space between the text
and the top page border or the space between the top edge of the page and the top page
border. Where the distance is measured from depends on the value of the distance from
property.
enable borders
Returns or sets border formatting for the specified object. Read/write.
The enable borders property applies to all borders for the specified object. True sets the line style
to the default line style and sets the line width to the default line width.
To remove all the borders from an object, set the enable borders property to false, as shown in
the following example.
set enable borders of border options of table 1 of active document ¬
to
false
To remove or apply a single border, use the get border command to return a single border,
and then set the line style property. The following example removes the bottom border from
myRange
.
set line style of (get border myRange which border border bottom) ¬
to line style none
enable first page in section
True if page borders are enabled for the first page in the section. Read/write.
enable other pages in section
True if page borders are enabled for all pages in the section except for the first page.
Read/write.
has horizontal
True if a horizontal border can be applied to the object. Read-only.
Horizontal borders can be applied to ranges that contain cells in two or more rows of a table or
ranges that contain two or more paragraphs.
has vertical
True if a vertical border can be applied to the specified object. Read-only.
Vertical borders can be applied to ranges that contain cells in two or more columns of a table.
inside color
Returns or sets the RGB color of the inside borders. Read/write.
If the inside line style property is set to line style none, setting this property has no effect.