[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IBorders

Interface IBorders

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents a collection of four IBorder objects that represent the four borders of an IRange or IStyle object.

public interface IBorders

Properties

Color

Gets or sets the Color of the IBorder.

Color Color { get; set; }

Property Value

System.Drawing.Color

ColorIndex

Gets or sets the color of all four borders.

int ColorIndex { get; set; }

Property Value

int

Count

Returns the number of objects in the collection.

int Count { get; }

Property Value

int

this[BordersIndex]

Returns the IBorder object from a collection.

IBorder this[BordersIndex index] { get; }

Parameters

index BordersIndex

Specifies the position of an element in the collection.

Property Value

IBorder

Returns IBorder.

LineStyle

Gets or sets the line style for the border.

BorderLineStyle LineStyle { get; set; }

Property Value

BorderLineStyle

ThemeColor

Gets or sets the theme color in the applied color scheme that is associated with the specified object. The ThemeColor value is read or write.

ThemeColor ThemeColor { get; set; }

Property Value

ThemeColor

TintAndShade

Gets or sets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral.

double TintAndShade { get; set; }

Property Value

double

Methods

Clear()

Clear the borders.

void Clear()