Represents the interactive object containing a comment for a cell within a worksheet.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
Copy Code
|
|---|
public class CellAnnotation : InteractiveObject |
Visual Basic
Copy Code
|
|---|
Public Class CellAnnotation |
RemarksObjects of this class cannot be instantiated directly. To create and associate an annotation with a cell, call the SetAnnotation method of the cell. Then, you can access the corresponding CellAnnotation object through the CellAnnotation property of the cell's Annotation.
The CellAnnotation class overrides the default values of some of the properties derived from InteractiveObject, as follows:
In addition the CellAnnotation objects draw a black outline when LineColor is not set.
ExampleThe following example illustrates how to set and customize a cell annotation.
C#
Copy Code
|
|---|
// Create the annotation |
Visual Basic
Copy Code
|
|---|
' Create the annotation |
Inheritance HierarchySystem.Object![]()
MindFusion.Spreadsheet.InteractiveObject
MindFusion.Spreadsheet.CellAnnotation
See Also