Поделиться через


Borders.Item Method (PowerPoint)

Returns a LineFormat object for the specified border from the Borders collection.

Syntax

expression .Item(BorderType)

expression A variable that represents a Borders object.

Parameters

Name

Required/Optional

Data Type

Description

BorderType

Required

PpBorderType

Specifies which border of a cell or cell range is to be returned.

Return Value

LineFormat

Remarks

The BorderType parameter value can be one of these PpBorderType constants.

ppBorderBottom

ppBorderDiagonalDown

ppBorderDiagonalUp

ppBorderLeft

ppBorderRight

ppBorderTop

See Also

Concepts

Borders Object

Borders Object Members