HotXLS Docs

Weight property

Returns or sets the weight of the line. Read/write Double

Syntax

property Weight: Double;

Example

This example changes the border's weight for the comment on cell B2

Var Comment: TXLSComment;
begin
  ...
  With Workbook.Sheets[1] do begin
    Comment := Range['B2', 'B2'].Comment;
    if Assigned(Comment) then Comment.Shape.Line.Weight := 4;
  end;
  ...
end;