Returns or sets the size of the font. Read/write double.
[Visual Basic] Property Size As Double [C#] double Size { get; set; } [C++] __property double get_Size(); __property void set_Size(double ); [JScript] function get Size() : double function set Size(double);
This example sets the font size for cells A1:F15 on sheet one to 11 points.
[C#]
book.Worksheets[1].Range["A1:F15"].Font.Size = 11;
[Visual Basic]
book.Worksheets(1).Range("A1:F15").Font.Size = 11
[C++]
book->Worksheets->Item[1]->Range->Item[S"A1:F15"]->Font->Size = 11;
IFont Interface | NativeExcel Namespace