Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the border of an object.
public interface class Border
[System.Runtime.InteropServices.Guid("00020854-0000-0000-C000-000000000046")] [System.Runtime.InteropServices.InterfaceType(2)] public interface Border
Public Interface Border
Most bordered objects (all except for the Range and Style objects) have a border that’s treated as a single entity, regardless of how many sides it has. The entire border must be returned as a unit. Use the Border property to return the Border object for this kind of object.
Range and Style objects have four discrete borders — left, right, top, and bottom — that can be returned individually or as a group. Use the Borders property of a Range or Style object to return the Borders collection, which contains all four borders and treats the borders as a unit.
index identifies the border, to return a single Border object.
Index can be one of the following XlBordersIndex constants: xlDiagonalDown, xlDiagonalUp, xlEdgeBottom, xlEdgeLeft, xlEdgeRight, xlEdgeTop, xlInsideHorizontal, or xlInsideVertical.
Returns an Application object that represents the Microsoft Excel application.
Returns or sets the primary color of the border.
Returns or sets the color of the border.
Returns a 32-bit integer that indicates the application in which this object was created.
Returns or sets the line style for the border.
Returns the parent object for the specified object.
Returns or sets the theme color in the applied color scheme that is associated with the specified object. Read/write Object.
Returns or sets a Single that lightens or darkens a color.
Returns or sets the weight of the border.