CommentsRange Class |
Namespace: Spire.Xls.Core.Spreadsheet.Shapes
The CommentsRange type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
AlternativeText |
Gets or sets the alternative text of the comments in the cell range.
|
|
|
Author |
Gets or sets the author of the comment. If the comments in the range have different authors, returns null.
|
|
|
AutoSize |
Gets or sets a value indicating whether the size of the specified object is changed automatically to fit text within its boundaries.
|
|
|
Column |
Gets the column of the commented cell. Returns int.MinValue if there are no commented cells or if the commented cells are in different columns.
|
|
|
Fill |
Gets the fill property of the shape.
|
|
|
Glow |
Gets the glow properties.
|
|
|
HAlignment |
Gets or sets the horizontal alignment of the text in the range of cells.
|
|
|
Height |
Gets or sets the height of the comments in the cell range.
If all comments have the same height, returns that height; otherwise, returns int.MinValue.
|
|
|
HtmlString |
Gets or sets the HTML string of the comments in the cell range.
|
|
|
ID |
Gets the unique identifier for the range.
|
|
|
IsLockAspectRatio |
Gets or sets the lock aspect ratio property, which is not supported in this class.
|
|
|
IsLocked |
Gets or sets a value indicating whether the current instance is locked.
|
|
|
IsMoveWithCell |
Indicates whether shape must be moved with cells.
|
|
|
IsPrintable |
Gets or sets the value indicating whether the object is printable.
|
|
|
IsSmartArt |
Indicates whether the current object is a SmartArt shape.
|
|
|
IsTextLocked |
Gets or sets whether the comment text is locked for all cells in the range.
|
|
|
IsVisible |
Gets or sets the visibility of the object.
|
|
|
Left |
Gets or sets the left position of the comment in the cell range.
|
|
|
Line |
This property doesn't support in this class.
|
|
|
LinkedCell |
Gets or sets the linked cell of the range.
|
|
|
Name |
Gets or sets the name of the comments in the cell range.
|
|
|
OnAction |
Gets or sets macro associated with this shape
|
|
|
Parent |
Reference to Parent object. Read-only.
(Inherited from
XlsObject
.)
|
|
|
ReferenceCount |
Get quantity of instance references.
(Inherited from
XlsObject
.)
|
|
|
Reflection |
Gets the reflection effect of the cell.
|
|
|
ResizeBehave |
Gets or sets the resize behavior type.
|
|
|
RichText |
Gets the rich text representation of the comment.
|
|
|
Rotation |
Returns or sets the rotation of the shape, in degrees.
|
|
|
Row |
Gets the row of the commented cell. If there are multiple cells with comments and they are not in the same row, returns int.MinValue.
|
|
|
Shadow |
Gets the shadow properties.
|
|
|
ShapeType |
Gets or sets the shape type of the Excel shape.
|
|
|
Text |
Gets or sets the text content of the RichText property.
|
|
|
TextFrame |
Gets the text frame associated with the current object.
|
|
|
TextRotation |
Gets or sets the text rotation for the cells in the range.
|
|
|
ThreeD |
Gets the chart3D properties.
|
|
|
Top |
Gets or sets the top position of the comments in the cell range.
|
|
|
VAlignment |
Gets or sets the vertical alignment of the text in the comment of the cells within the range.
|
|
|
Visible |
Gets or sets whether the object is visible.
|
|
|
Width |
Gets or sets the width of the comments in the cell range.
If the comments have different widths, the property returns int.MinValue.
|
| Name | Description | |
|---|---|---|
|
|
AddReference |
Increase the quantity of reference. User must use this method when
new wrapper on object is created or reference on object stored.
(Inherited from
XlsObject
.)
|
|
|
CheckDisposed |
Checks whether object was disposed and throws exception if it was.
(Inherited from
XlsObject
.)
|
|
|
Dispose |
Dispose object and free resources.
(Inherited from
XlsObject
.)
|
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Destructor. Call dispose method of current object.
(Inherited from
XlsObject
.)
|
|
|
FindParent(Type) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
|
|
FindParent( Type ) |
Find parent of object.
(Inherited from
XlsObject
.)
|
|
|
FindParent(Type, Boolean) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
|
|
FindParents |
Finds parent objects.
(Inherited from
XlsObject
.)
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
OnDispose |
Method which can be overriden by users to take any specific actions when
object is disposed.
(Inherited from
XlsObject
.)
|
|
|
ReleaseReference |
Decrease quantity of Reference. User must call this method
when freeing resources.
(Inherited from
XlsObject
.)
|
|
|
Remove |
Removes all comments from the cells in the range.
|
|
|
Scale |
Scales all comments in the array.
|
|
|
SetParent |
Sets parent of the object.
(Inherited from
XlsObject
.)
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
|
|
m_bIsDisposed |
Flag which indicates if the object was disposed or not.
(Inherited from
XlsObject
.)
|