Class SubReport
Assembly: Reportman.Reporting.dll
Syntax
public class SubReport : ReportItem, IDisposable
Constructors
SubReport()
Declaration
Fields
Alias
Declaration
Field Value
CurrentGroupIndex
Declaration
public int CurrentGroupIndex
Field Value
CurrentGroupName
Declaration
public string CurrentGroupName
Field Value
LastRecord
Declaration
Field Value
ParentSec
Declaration
Field Value
ParentSection
Declaration
[JsonIgnore]
[JsonIgnore]
public Section ParentSection
Field Value
ParentSub
Declaration
Field Value
ParentSubReport
Declaration
[JsonIgnore]
[JsonIgnore]
public SubReport ParentSubReport
Field Value
PrintOnlyIfDataAvailable
Declaration
public bool PrintOnlyIfDataAvailable
Field Value
ReOpenOnPrint
Declaration
public bool ReOpenOnPrint
Field Value
Sections
Declaration
Field Value
Properties
DetailCount
Declaration
public int DetailCount { get; }
Property Value
FirstDetail
Declaration
public int FirstDetail { get; }
Property Value
Declaration
public int FirstPageFooter { get; }
Property Value
Declaration
public int FirstPageHeader { get; }
Property Value
GroupCount
Declaration
public int GroupCount { get; }
Property Value
LastDetail
Declaration
public int LastDetail { get; }
Property Value
Declaration
public int LastPageFooter { get; }
Property Value
Declaration
public int LastPageHeader { get; }
Property Value
Declaration
public int PageFooterCount { get; }
Property Value
Declaration
public int PageHeaderCount { get; }
Property Value
Methods
AddDetail()
Add a new detail to the subreport
Declaration
public Section AddDetail()
Returns
AddGroup(string)
Add a new group to the subreport
Declaration
public Section AddGroup(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
Add a new page footer to the subreport
Declaration
public Section AddPageFooter()
Returns
Add a new page header to the subreport
Declaration
public Section AddPageHeader()
Returns
DeleteSection(Section)
Delete a section from the report
Declaration
public void DeleteSection(Section sec)
Parameters
FirstSectionThatIs(SectionType)
Declaration
public int FirstSectionThatIs(SectionType atype)
Parameters
Returns
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type |
Description |
| string |
Object type name
|
Overrides
GetDisplayName(bool)
Descriptive name to display to the user
Declaration
public string GetDisplayName(bool includedataset)
Parameters
| Type |
Name |
Description |
| bool |
includedataset |
|
Returns
GroupChanged()
Declaration
public int GroupChanged()
Returns
GroupIndex(string)
Declaration
public int GroupIndex(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
IndexOfGroup(string)
Declaration
public int IndexOfGroup(string groupname)
Parameters
| Type |
Name |
Description |
| string |
groupname |
|
Returns
InitGroups(int)
Declaration
public void InitGroups(int groupindex)
Parameters
| Type |
Name |
Description |
| int |
groupindex |
|
IsDataAvailable()
Declaration
public bool IsDataAvailable()
Returns
LastSectionThatIs(SectionType)
Declaration
public int LastSectionThatIs(SectionType atype)
Parameters
Returns
NumberOfSectionsOfType(SectionType)
Declaration
public int NumberOfSectionsOfType(SectionType atype)
Parameters
Returns
SubReportChanged(SubReportEvent, string)
Declaration
public void SubReportChanged(SubReportEvent aevent, string newgroup)
Parameters
Implements