Syncfusion.XlsIO.Base
Example 


StandardHeight Property (IWorksheet)

Gets or sets the standard (default) height of all the rows in the worksheet, in points.
Syntax
'Declaration
 
Property StandardHeight As Double
'Usage
 
Dim instance As IWorksheet
Dim value As Double
 
instance.StandardHeight = value
 
value = instance.StandardHeight
double StandardHeight {get; set;}
Example
The following code illustrates how to get the standard height.
using Syncfusion.XlsIO;
            
class Program
{
    static void Main()
    {
        using (ExcelEngine excelEngine = new ExcelEngine())
        {
            //Create worksheet
            IApplication application = excelEngine.Excel;
            application.DefaultVersion = ExcelVersion.Excel2013;
            IWorkbook workbook = application.Workbooks.Create(1);
            IWorksheet worksheet = workbook.Worksheets[0];
            
            //Set text
            worksheet["C2"].Text = "Text";
            
            //Set standard height
            worksheet.StandardHeight = 40;
            
            //Save and dispose
            workbook.SaveAs("CellFormats.xlsx");
            workbook.Close();
        }
    }
}
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also