Comment.HeightInch
Comment.HeightInch property
Represents the height of the comment, in unit of inches.
public double HeightInch { get; set; }
Examples
using System;
using Aspose.Cells;
namespace AsposeCellsExamples
{
public class CommentPropertyHeightInchDemo
{
public static void Run()
{
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
int commentIndex = worksheet.Comments.Add("A1");
Comment comment = worksheet.Comments[commentIndex];
comment.HeightInch = 1.5;
Console.WriteLine("Comment height set to: " + comment.HeightInch + " inches");
}
}
}
See Also
- class Comment
- namespace Aspose.Cells
- assembly Aspose.Cells