ActiveReports.XlsExport Assembly > DataDynamics.ActiveReports.Export.Xls Namespace > XlsExport Class : MinRowHeight Property |
Sets or returns a value in inches indicating the minimum height rows can be in the Excel document. Larger values force the export to place more controls on a single line by reducing the number of rows added to match blank space.
Dim docexp As New DataDynamics.ActiveReports.Export.Xls.XlsExport() docexp.DisplayGridLines=True docexp.FileFormat=DataDynamics.ActiveReports.Export.Xls.FileFormat.Xls95 'Or Xls97Plus docexp.MinColumnWidth=3 docexp.MinRowHeight=1 docexp.MultiSheet=True docexp.RemoveVerticalSpace=True docexp.UseCellMerging=True docexp.Export(Me.viewer1.Document, Application.StartupPath + "\\x.xls")
DataDynamics.ActiveReports.Export.Xls.XlsExport docexp = new DataDynamics.ActiveReports.Export.Xls.XlsExport(); docexp.DisplayGridLines=true; docexp.FileFormat=DataDynamics.ActiveReports.Export.Xls.FileFormat.Xls95; //or Xls97Plus docexp.MinColumnWidth=3; docexp.MinRowHeight=1; docexp.MultiSheet=true; docexp.RemoveVerticalSpace=true; docexp.UseCellMerging=true; docexp.Export(this.viewer1.Document, Application.StartupPath + "\\x.xls");
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2