FlexReport Dissection / Object Model Summary
Object Model Summary

FlexReport has a rich object model. The objects, collections, and the associated properties and methods together provide an ease and flexibility in generating FlexReport. The following table lists objects and their main properties and methods:

C1FlexReport
Properties: Credential, DataSource, Document, FileName, Layout, MaxPages, OnClose, OnError, OnOpen, Page, Parameters, ReportDefinition, ReportInfo, ReportName, Sections
Methods: Evaluate, Execute, GetReportList, Load, Render, Save, Clear
Layout
Properties: Width, MarginLeft, MarginTop, MarginRight, MarginBottom, PaperSize, Orientation, Columns, ColumnLayout, PageHeader, PageFooter
DataSource
Properties: CalculatedFields, ConnectionString, Filter, RecordSource, SortDefinitions
DataSourceCollection
Properties: Report
Methods: Add, RemoveAt
SortDefinition
Properties: Direction, Expression, Owner
SortDefinitionCollection
Properties: Owner, Report
CalculatedField
Properties: DataSource, Expression, Type
CalculatedFieldCollection
Properties: Owner, Report
Group
Properties: GroupBy, KeepTogether, SectionHeader, SectionFooter, Sort, SortExpression
GroupCollection
Properties: Report
Methods: Add, Clear, RemoveAt
ReportParameter
Properties: AllowedValuesDefinition, DisplayText, ParentReport
Methods: SetName
ReportParameterCollection
Properties: Item, Report
Methods: InsertItem, RemoveItem, SetItem
AllowedValuesDefinition
Properties: Binding, Values
Methods: AssignFrom
Section
Properties: Calculated, Fields, Height, SplitBehavior, SubSections
SectionCollection
Properties: Detail, Footer, Header, PageFooter, PageHeader
SubSection
Properties: Calculated, Fields, Height, ParentReport, ParentSection, SplitBehavior, Visible
SubSectionCollection
Properties: Report
Methods: Add, Remove, RemoveAt
FieldBase
Properties: Anchor, Height, ForcePageBreak, MarginBottom, MarginLeft, MarginRight, MarginTop, Section, SplitHorzBehavior, SplitVertBehavior
FieldCollection
Methods: Add, Remove, RemoveAt
BarCodeField
Properties: BarCode, BarCodeOptions, Font, Text
CheckBoxField
Properties: CheckAlign, CheckMark, Text, ThreeState, Value
DataField
Properties: Calculated, Name, Type, Value
ImageField
Properties: Picture, PictureAlign, PictureScale
ShapeField
Properties: Line, Shape, ShapeBackground, ShapeType
SubreportField
Properties: ParameterValues, Subreport, SubreportFilter
TextField
Properties: Format, Text
VisualReportObject
Properties: Background, Border, BordersSplitHorzMode, BordersSplitVertMode, OutlineLabel
BehaviorOptions
Properties: AllowHorizontalSplitting, EnableAggregatesOnReportFields, IgnoreInvisibleFieldsInGrowShrinkSections
Methods: AssignFrom, Reset