Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Borders Interface 

A collection of Border objects that represent the borders of an object.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Public Class ordersImplementation
	Implements Borders
End Class
Dim ordersImplementation1 As New ordersImplementation()

public interface Borders : IEnumerable
public interface Borders implements IEnumerable
public interface Borders implements IEnumerable

Use the Borders property to return the Borders collection.

Border objects cannot be added to the Borders collection. The number of members in the Borders collection is finite and varies depending on the type of object. For example, a table has six elements in the Borders collection, whereas a paragraph has four.

Use Borders(index), where index identifies the border, to return a single Border object. Index can be one of the following WdBorderType constants: wdBorderBottom, wdBorderDiagonalDown, wdBorderDiagonalUp, wdBorderHorizontal, wdBorderLeft, wdBorderRight, wdBorderTop, or wdBorderVertical. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed. Use the LineStyle property to apply a border line to a Border object.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: