Difference between revisions of "VS:SetWSCellTopBN"
m (1 revision)
Latest revision as of 18:36, 12 September 2018
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionSets a top border with the specified attributes in specified worksheet cells.
SetWSCellTopBN allows borders to be set for a rectangular range of cells. To set the border formatting of a single cell, specify identical values for the top/bottom and left/right range boundaries.
A rectangular range of cells is formatted as a single block of cells. If you apply a top border to the range of cells, the border is displayed only on the right edge of the cells.
def vs.SetWSCellTopBN(worksheet, topRow, leftColumn, bottomRow, rightColumn, style, weight, color): return None
worksheet HANDLE Worksheet on which function is to operate. topRow INTEGER Top row of range to set. leftColumn INTEGER Left column of range to set. bottomRow INTEGER Bottom row of range to set. rightColumn INTEGER Right column of range to set. style LONGINT Border line style to be set.(0 = None; 2 = Solid; for dashed, use negative value of Internal Index of dash line type weight INTEGER Border line weight to be set. (in Mils) color LONGINT Border line color to be set. (color index: 0..255)