共用方式為


Borders Interface

A collection of LineFormat objects that represent the borders and diagonal lines of a cell or range of cells in a table.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("914934CA-5A91-11CF-8700-00AA0060263B")> _
Public Interface Borders _
    Inherits Collection
'Usage
Dim instance As Borders
[GuidAttribute("914934CA-5A91-11CF-8700-00AA0060263B")]
public interface Borders : Collection

Remarks

Each Cell object or CellRange collection has six elements in the Borders collection. You cannot add objects to the Borders collection.

Use Borders(index), where index identifies the cell border or diagonal line, to return a single object of a Borders collection.

The index value can be any of the following PPBorderType constants:

ppBorderBottom()

ppBorderLeft()

ppBorderRight()

ppBorderTop()

ppBorderDiagonalDown()

ppBorderDiagonalUp()

See Also

Reference

Borders Members

Microsoft.Office.Interop.PowerPoint Namespace