Gets or sets the height of the shape in points (1/72 inch).
[Visual Basic] Property Height As Double [C#] double Height { get; set; } [C++] __property double get_Height(); __property void set_Height(double ); [JScript] function get Height() : double function set Height(double);
double. The height of the specified shape measured in points (1/72 inch).
This example sets the height of the comment for cell E5.
[C#]
IRange cell = book.Worksheets[1].Range["E5"];
cell.AddComment().Shape.Height = 70;
[Visual Basic]
Dim cell As IRange
cell = book.Worksheets(1).Range("E5")
cell.AddComment().Shape.Height = 70
[C++]
IRange* cell;
cell = book->Worksheets->Item[1]->Range->Item[S"E5"];
cell->AddComment()->Shape->Height = 70;
IShape Interface | NativeExcel Namespace | IShape.Width Property