Show / Hide Table of Contents

Class Comment

Represents a comment on a sheet cell.

Inheritance
System.Object
Comment
Implements
IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Comment : object, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject

Properties

AnchoredCell

Gets the top left cell where the comment is displayed.

Declaration
public Cell AnchoredCell { get; set; }
Property Value
Type Description
Cell

Author

Declaration
public string Author { get; set; }
Property Value
Type Description
System.String

BottomRightCell

Declaration
public Cell BottomRightCell { get; }
Property Value
Type Description
Cell

Cell

Gets the cell the comment is associated with.

Declaration
public Cell Cell { get; }
Property Value
Type Description
Cell

Fill

Declaration
public CommentFill Fill { get; }
Property Value
Type Description
CommentFill

Line

Declaration
public CommentLine Line { get; }
Property Value
Type Description
CommentLine

Margin

Declaration
public Margin Margin { get; set; }
Property Value
Type Description
Margin

ParentGroup

Declaration
public GroupShape ParentGroup { get; }
Property Value
Type Description
GroupShape

Null. Comments cannot be placed into groups therefore ParentGroup is always null.

PatternType

Declaration
public PatternType PatternType { get; set; }
Property Value
Type Description
PatternType

Position

Declaration
public Position Position { get; }
Property Value
Type Description
Position

Positioning

Declaration
public AnchorProperties Positioning { get; set; }
Property Value
Type Description
AnchorProperties

RichText

Declaration
public RichTextParagraph RichText { get; set; }
Property Value
Type Description
RichTextParagraph

Sheet

Declaration
public Sheet Sheet { get; }
Property Value
Type Description
Sheet

Size

Declaration
public Size Size { get; }
Property Value
Type Description
Size

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

Visible

Gets or sets whether the comment is visible.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Worksheet

Declaration
public Worksheet Worksheet { get; }
Property Value
Type Description
Worksheet

Methods

SetImage(String)

Declaration
public void SetImage(string path)
Parameters
Type Name Description
System.String path

Implements

IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Back to top Generated by DocFX