XlBorder Methods

Provides access to the line characteristics of a cell border.
Name Description
AllBorders(XlColor) static

Returns the XlBorder object that specifies all outside borders of a cell.

This method is equivalent to the XlBorder.OutlineBorders method and is reserved for future use.

AllBorders(XlColor, XlBorderLineStyle) static

Returns the XlBorder object that specifies all outside borders of a cell.

This method is equivalent to the XlBorder.OutlineBorders method and is reserved for future use.

Clone() Creates a copy of the current XlBorder object.
CopyFrom(XlBorder) Copies the appropriate properties of the specified object into the current instance of the XlBorder class.
CopyFrom(XlBordersBase) Copies the appropriate properties of the specified object into the current object of the XlBordersBase type. Inherited from XlBordersBase.
Equals(Object) Determines whether the specified object is equal to the current XlBorder instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current XlBorder object.
GetType() Gets the Type of the current instance. Inherited from Object.
InsideBorders(XlColor) static

This member supports the internal infrastructure and is not intended to be used directly from your code.

Specifies all inside borders of a cell range.

InsideBorders(XlColor, XlBorderLineStyle) static

This member supports the internal infrastructure and is not intended to be used directly from your code.

Specifies all inside borders of a cell range.

MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NoBorders() static Returns the XlBorder object specifying that a cell has no visible borders.
OutlineBorders(XlColor) static Returns the XlBorder object that specifies the outside borders of a cell.
OutlineBorders(XlColor, XlBorderLineStyle) static Returns the XlBorder object that specifies the outside borders of a cell.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also