| Visual Basic (Declaration) | |
|---|---|
Public Property AutoRowHeight As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool AutoRowHeight {get; set;} | |
Return Value
Boolean. Set to True if Excel should set the height of the row based on the contents of that row. Otherwise the XlsExport will calculate the height of the rows. In some cases this may make the output look better inside Excel. However, a value of True may adversely affect pagination when printing from Excel, as it will often cause Excel to stretch the height of the page. The default value is False.| C# | Copy Code |
|---|---|
DataDynamics.ActiveReports.Export.Xls.XlsExport docexp = new DataDynamics.ActiveReports.Export.Xls.ExcelExport(); | |
| Visual Basic | Copy Code |
|---|---|
Dim docexp As New DataDynamics.ActiveReports.Export.Xls.ExcelExport() | |
This property should usually not be set to True when the UseCellMerging property is True.