Share via


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

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

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.PowerPoint Namespace