共用方式為


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

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()

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.PowerPoint Namespace