FlexReport for .NET | ComponentOne
C1.Win.FlexReport.8 Assembly / C1.Win.FlexReport Namespace / Section Class
Properties Methods


In This Topic
    Section Class Members
    In This Topic

    The following tables list the members exposed by Section.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value determining how the height of the section changes depending on its content.  
    Public PropertyGets or sets the field's background color, this property works via Background property using C1.Win.Document.C1SolidBrush. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets the C1.Win.Document.C1Brush object determining the object's background. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets a ScriptStringValue yielding the bookmark associated with the current object. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets the Border object determining how borders are drawn around the object. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets a value determining how borders are drawn if the object is too wide and is split between horizontal pages. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets a value determining how borders are drawn if the object is too high and is split between pages. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets a value indicating whether the current section has already been calculated and its RenderHeight property contains a valid value.  
    Public PropertyGets or sets a value indicating whether the section's height is automatically increased to fit its content.  
    Public PropertyGets or sets a value indicating whether the section's height should be reduced when one or more fields shrink.  
    Public PropertyGets a collection of all fields in this Section.  
    Public PropertyGets or sets a value determining whether page breaks should be inserted before and/or after the section.  
    Public PropertyGets the height of the current section in twips. This is the sum of the heights of all sub-sections of the current section.  
    Public PropertySpecifies whether the Section should be kept together on a page.  
    Public PropertyOverridden. Gets or sets the Section name.  
    Public PropertyGets or sets a string containing VBScript code to be executed before the Section is formatted.  
    Public PropertyGets or sets a string containing VBScript code to be executed before the Section is printed (after it is formatted).  
    Public PropertyGets or sets a ScriptStringValue yielding the label associated with the object in the outline tree. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyGets or sets the name of the object that will be the parent of the current object in the outline tree. If unspecified, the report hierarchy will be used to determine the parent. (Inherited from C1.Win.FlexReport.VisualReportObject)
    Public PropertyOverridden. Gets the C1FlexReport object that contains this Section.  
    Public PropertyFor master report's footer sections only, gets or sets a value indicating whether the current section should print at the bottom of the page immediately above the page footer, rather than right below the detail. The default is false.

    This property is ignored for non-footer sections or for footers of sub-reports.

     
    Public PropertyGets the actual height of the current section. This is the sum of the heights of all its sub-sections. This property can only be used while the report is being rendered, otherwise it returns -1.

    Note that if this property is used in the section's OnFormat script, then it returns the height calculated for the previous instance of the section, or -1 if this is the first calculation.

     
    Public PropertyFor group header, group footer and report footer sections only, gets or sets a value indicating whether the current section should be repeated at the top or bottom of each page. The default is false.  
    Public PropertyGets or sets a value determining how the section behaves when it is too high to fit in the vertical space available on the current page.  
    Public PropertyGets the collection of sub-sections in the current section. This collection contains at least one element.  
    Public PropertyGets or sets arbitrary data associated with the object. (Inherited from C1.Win.FlexReport.ReportObject)
    Public PropertyReturns the Section type (e.g., PageHeader, Detail).  
    Public PropertyFor master report's group and detail sections only, gets or sets a value indicating whether the current section should use column layout defined by Columns and ColumnLayout properties.  
    Public PropertySpecifies whether the Section will be rendered in the report.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Assigns (copies) properties from another Section to the current object. This method copies list of subsections but does not copy list of fields. This method does NOT copy type of the section.  
    Public MethodCalculates section's size. Note! This method does not execute OnFormat script and does not fire StartSection event and intended to be used from VB scripts to update RenderHeight property.  
    Top
    See Also