NativeExcel2 for .Net Developer's Reference


The properties of the IBorder interface are listed below. For a complete list of IBorder interface members, see the IBorder Members topic.

Public Instance Properties

Color Returns or sets the color of the border. Use the Color.FromArgb method to create a color value. Read/write System.Drawing.Color.
ColorIndex Returns or sets the color of the border. The color is specified as an index value into the current color palette, or as the following XlColorIndex constant: xlColorIndexAutomatic, xlColorIndexNone. Read/write int.
LineStyle Returns or sets the line style for the border. Read/write XlLineStyle.
Weight Returns or sets the weight of the border. Read/write XlBorderWeight.

See Also

IBorder Interface | NativeExcel Namespace | IRange.Borders Property | IBorders Interface