Class ExcelCommentObject
public class ExcelCommentObject : ICommentShape, IComment, ITextBoxShape, ITextBox, IShape, IExcelApplication
- Inheritance
-
ExcelCommentObject
- Implements
- Derived
- Inherited Members
Properties
AlternativeText
Alternative text.
public string AlternativeText { get; set; }
Property Value
Author
Gets or sets the author of the comment.
public string Author { get; set; }
Property Value
AutoSize
Indicates whether the size of the specified object is changed automatically to fit text within its boundaries. Read/write Boolean.
public bool AutoSize { get; set; }
Property Value
Column
Column of the commented range.
public int Column { get; }
Property Value
Fill
public IShapeFill Fill { get; }
Property Value
Glow
public IGlow Glow { get; }
Property Value
HAlignment
public CommentHAlignType HAlignment { get; set; }
Property Value
Height
Height of comment.
public int Height { get; set; }
Property Value
HtmlString
Gets and sets the html string which contains data and some formattings in this shape.
public string HtmlString { get; set; }
Property Value
ID
public int ID { get; }
Property Value
IsLockAspectRatio
public bool IsLockAspectRatio { get; set; }
Property Value
IsLocked
public bool IsLocked { get; set; }
Property Value
IsPrintable
public bool IsPrintable { get; set; }
Property Value
IsSmartArt
public bool IsSmartArt { get; }
Property Value
IsTextLocked
public bool IsTextLocked { get; set; }
Property Value
IsVisible
Indicates whether the comment is visible.
public bool IsVisible { get; set; }
Property Value
Left
Position of left
public int Left { get; set; }
Property Value
Line
public IShapeLineFormat Line { get; }
Property Value
LinkedCell
Gets or sets the range linked to the shape's value.
public IXLSRange LinkedCell { get; set; }
Property Value
Name
Name of object.
public string Name { get; set; }
Property Value
OnAction
public string OnAction { get; set; }
Property Value
Parent
public object Parent { get; }
Property Value
Reflection
public IReflectionEffect Reflection { get; }
Property Value
ResizeBehave
Specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted.
public ResizeBehaveType ResizeBehave { get; set; }
Property Value
RichText
public IRichTextString RichText { get; }
Property Value
Rotation
Returns or sets the rotation of the shape, in degrees.
public int Rotation { get; set; }
Property Value
Row
Row of the commented range.
public int Row { get; }
Property Value
Shadow
public IShadow Shadow { get; }
Property Value
ShapeType
Shape type of object.
public ExcelShapeType ShapeType { get; set; }
Property Value
Text
Comment text
public string Text { get; set; }
Property Value
TextFrame
public ITextFrame TextFrame { get; }
Property Value
TextRotation
public TextRotationType TextRotation { get; set; }
Property Value
ThreeD
public IFormat3D ThreeD { get; }
Property Value
Top
Top of object.
public int Top { get; set; }
Property Value
VAlignment
public CommentVAlignType VAlignment { get; set; }
Property Value
Visible
public bool Visible { get; set; }
Property Value
Width
Width of object.
public int Width { get; set; }
Property Value
Methods
Remove()
Removes comment.
public void Remove()
Scale(int, int)
Scales all comments.
public void Scale(int scaleWidth, int scaleHeight)
Parameters
SetCommentLocation(bool, bool)
public void SetCommentLocation(bool isMoveWithCell, bool isSizeWithCell)