Partager via


Borders Members

Include Protected Members
Include Inherited Members

A collection of four Border objects that represent the four borders of a Range or Style object.

The Borders type exposes the following members.

Properties

  Name Description
Public property _Default Reserved for internal use.
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Color Returns or sets the primary color of all four borders of a range. If they're not all the same color, returns 0 (zero).
Public property ColorIndex Returns or sets the color of all four borders. Returns Null if all four borders aren't the same color.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Item Returns a Border object that represents one of the borders of either a range of cells or a style.
Public property LineStyle Returns or sets the line style for the border.
Public property Parent Returns the parent object for the specified object.
Public property ThemeColor Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Object.
Public property TintAndShade Returns or sets a Single that lightens or darkens a color.
Public property Value Returns or sets the line style for the border.
Public property Weight Returns or sets the weight of the border.

Top

Methods

  Name Description
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()

Top

See Also

Reference

Borders Interface

Microsoft.Office.Interop.Excel Namespace