Borders.Item Property
Returns a LineFormat object for the specified border from the Borders collection.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property Item ( _
BorderType As PpBorderType _
) As LineFormat
Get
'Usage
Dim instance As Borders
Dim BorderType As PpBorderType
Dim value As LineFormat
value = instance.Item(BorderType)
LineFormat this[
PpBorderType BorderType
] { get; }
Parameters
- BorderType
Type: Microsoft.Office.Interop.PowerPoint.PpBorderType
Specifies which border of a cell or cell range is to be returned.
Property Value
Type: Microsoft.Office.Interop.PowerPoint.LineFormat
Remarks
The BorderType value can one of the following PPBorderType constants:
ppBorderBottom() |
ppBorderLeft() |
ppBorderRight() |
ppBorderTop() |
ppBorderDiagonalDown() |
ppBorderDiagonalUp() |