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 Default Property Item ( _
BorderType As PpBorderType _
) As LineFormat
Get
'Usage
Dim instance As Borders
Dim BorderType As PpBorderType
Dim value As LineFormat
value = instance(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
LineFormat
Remarks
The BorderType parameter value can be one of these PpBorderType constants.
ppBorderBottom |
ppBorderDiagonalDown |
ppBorderDiagonalUp |
ppBorderLeft |
ppBorderRight |
ppBorderTop |