HotXLS-documentatie

IXLSBorders Interface

Eenheid: lxHandle
Collection of four IXLSBorder objects that represent the four borders of a IXLSRange object. Use the Borders property to return the Borders collection, which contains all four borders. Use Borders[index], where index identifies the border, to return a single IXLSBorder object

Eigenschappen

Voorbeeld

Het volgende voorbeeld voegt een dubbele rand toe aan cel A1 op werkblad één
Workbook.Worksheets[1].Range['A1','A1'].Borders.LineStyle := xlDouble;
Het volgende voorbeeld stelt de kleur van de onderrand van cellen A1:G1 in to red
Workbook.Worksheets[1].Range['A1','G1'].Borders[xlEdgeBottom].Color := RGB(255, 0, 0);