Represents a comment on a sheet cell.
Inheritance
System.Object
Comment
Assembly: DRIT.Spreadsheet.dll
public class Comment : object, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject
Properties
Gets the top left cell where the comment is displayed.
Declaration
public Cell AnchoredCell { get; set; }
Property Value
Declaration
public string Author { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Cell BottomRightCell { get; }
Property Value
Gets the cell the comment is associated with.
Declaration
public Cell Cell { get; }
Property Value
Declaration
public CommentFill Fill { get; }
Property Value
Declaration
public CommentLine Line { get; }
Property Value
Declaration
public Margin Margin { get; set; }
Property Value
Declaration
public GroupShape ParentGroup { get; }
Property Value
Type |
Description |
GroupShape |
Null. Comments cannot be placed into groups therefore ParentGroup is always null.
|
Declaration
public PatternType PatternType { get; set; }
Property Value
Declaration
public Position Position { get; }
Property Value
Declaration
public AnchorProperties Positioning { get; set; }
Property Value
Declaration
public RichTextParagraph RichText { get; set; }
Property Value
Declaration
public Sheet Sheet { get; }
Property Value
Declaration
public Size Size { get; }
Property Value
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets whether the comment is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public Worksheet Worksheet { get; }
Property Value
Methods
Declaration
public void SetImage(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Implements