SetBorderPosition

SetBorderPosition enumeration

Represents the border position to be set of a cells range.

public enum SetBorderPosition

Values

Name Value Description
Top 0 Top border
Bottom 1 Bottom border
Left 2 Left border
Right 3 Right border
HorizontalMiddle 4 Bottom border
VerticalMiddle 5 HorizontalMiddle borders
Outline 6 VerticalMiddle borders
Cross 7 Cross borders
None 8 No borders

Examples

[C#]
	GridWeb1.WebWorksheets[0].Cells.SetBorders(0, 0, 5, 8, SetBorderPosition.Outline, borderStyle1);

[VB]
	GridWeb1.WebWorksheets(0).Cells.SetBorders(0, 0, 5, 8, SetBorderPosition.Outline, borderStyle1)

See Also