HotXLS Docs

Visible property

Determines whether the line is visible. Read/write Boolean

Syntax

property Visible: Boolean;

Example

This example hides the border 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.Visible := false;
  end;
  ...
end;