Section.Height Property
Gets or sets the object's height, in twips.
Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)
Syntax
'Declaration
Public Overrideable Property Height As Integer
public virtual int Height {get; set;}
Example
This example updates the section height.
'Declaration
Private Sub UpdateSectionHeight(ByVal myReportDocument As ReportDocument, ByVal sectionName As String, ByVal height As Integer)
Dim mySection As Section
mySection = myReportDocument.ReportDefinition.Sections.Item(sectionName)
mySection.Height = height
End Sub
private void UpdateSectionHeight(ReportDocument reportDocument, String sectionName, int height)
{
Section section = reportDocument.ReportDefinition.Sections[sectionName];
section.Height = height;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
Section Class
Section Members
CrystalDecisions.CrystalReports.Engine Namespace