Class ComponentsFactory
The components factory.
Inheritance
Namespace: FastReport.Import
Assembly: FastReport.dll
Syntax
public static class ComponentsFactory
Methods
CreateAdvMatrixObject(String, Base)
Creates a AdvMatrixObject instance with specified name and parent.
Declaration
public static AdvMatrixObject CreateAdvMatrixObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the AdvMatrixObject instance. |
| Base | parent | The parent of the AdvMatrixObject instance. |
Returns
| Type | Description |
|---|---|
| AdvMatrixObject | The AdvMatrixObject instance. |
CreateBarcodeObject(String, Base)
Creates a BarcodeObject instance with specified name and parent.
Declaration
public static BarcodeObject CreateBarcodeObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the BarcodeObject instance. |
| Base | parent | The parent of the BarcodeObject instance. |
Returns
| Type | Description |
|---|---|
| BarcodeObject | The BarcodeObject instance. |
CreateCellularTextObject(String, Base)
Creates a CellularTextObject instance with specified name and parent.
Declaration
public static CellularTextObject CreateCellularTextObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the CellularTextObject instance. |
| Base | parent | The parent ot the CellularTextObject instance. |
Returns
| Type | Description |
|---|---|
| CellularTextObject | The CellularTextObject instance. |
CreateCheckBoxObject(String, Base)
Creates a CheckBoxObject instance with specified name and parent.
Declaration
public static CheckBoxObject CreateCheckBoxObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the CheckBoxObject instance. |
| Base | parent | The parent of the CheckBoxObject instance. |
Returns
| Type | Description |
|---|---|
| CheckBoxObject | The CheckBoxObject instance. |
CreateChildBand(BandBase)
Creates a ChildBand instance in the specified BandBase.
Declaration
public static ChildBand CreateChildBand(BandBase parent)
Parameters
| Type | Name | Description |
|---|---|---|
| BandBase | parent | The BandBase instance. |
Returns
| Type | Description |
|---|---|
| ChildBand | The ChildBand instance. |
CreateColumnFooterBand(ReportPage)
Creates a ColumnFooterBand instance in the specified ReportPage.
Declaration
public static ColumnFooterBand CreateColumnFooterBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| ColumnFooterBand | The ColumnFooterBand instance. |
CreateColumnHeaderBand(ReportPage)
Creates a ColumnHeaderBand instance in the specified ReportPage.
Declaration
public static ColumnHeaderBand CreateColumnHeaderBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| ColumnHeaderBand | The ColumnHeaderBand instance. |
CreateContainerObject(String, Base)
Creates a ContainerObject instance with specified name and parent.
Declaration
public static ContainerObject CreateContainerObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the ContainerObject instance. |
| Base | parent | The parent of the ContainerObject instance. |
Returns
| Type | Description |
|---|---|
| ContainerObject | The ContainerObject instance. |
CreateDataBand(ReportPage)
Creates a DataBand instance in the specified ReportPage.
Declaration
public static DataBand CreateDataBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| DataBand | The DataBand instance. |
CreateDataFooterBand(DataBand)
Creates a DataFooterBand instance in the specified DataBand.
Declaration
public static DataFooterBand CreateDataFooterBand(DataBand data)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBand | data | The DataBand instance. |
Returns
| Type | Description |
|---|---|
| DataFooterBand | The DataFooterBand instance. |
CreateDataHeaderBand(DataBand)
Creates a DataHeaderBand instance in the specified DataBand.
Declaration
public static DataHeaderBand CreateDataHeaderBand(DataBand data)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBand | data | The DataBand instance. |
Returns
| Type | Description |
|---|---|
| DataHeaderBand | The DataHeaderBand instance. |
CreateGroupFooterBand(GroupHeaderBand)
Creates a GroupFooterBand instance in the cpecified GroupHeaderBand.
Declaration
public static GroupFooterBand CreateGroupFooterBand(GroupHeaderBand groupHeaderBand)
Parameters
| Type | Name | Description |
|---|---|---|
| GroupHeaderBand | groupHeaderBand | The GroupHeaderBand instance. |
Returns
| Type | Description |
|---|---|
| GroupFooterBand | The GroupFooterBand instance. |
CreateGroupFooterBand(ReportPage)
Creates a GroupFooterBand instance in the cpecified ReportPage.
Declaration
public static GroupFooterBand CreateGroupFooterBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| GroupFooterBand | The GroupFooterBand instance. |
CreateGroupHeaderBand(ReportPage)
Creates a GroupHeaderBand instance in the specified ReportPage.
Declaration
public static GroupHeaderBand CreateGroupHeaderBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| GroupHeaderBand | The GroupHeaderBand instance. |
CreateHtmlObject(String, Base)
Creates a HtmlObject instance with specified name and parent.
Declaration
public static HtmlObject CreateHtmlObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the HtmlObject instance. |
| Base | parent | The parent of the HtmlObject instance. |
Returns
| Type | Description |
|---|---|
| HtmlObject | The HtmlObject instance. |
CreateLinearGauge(String, Base)
Creates a LinearGauge instance with specified name and parent.
Declaration
public static LinearGauge CreateLinearGauge(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the LinearGauge instance. |
| Base | parent | The parent of the LinearGauge instance. |
Returns
| Type | Description |
|---|---|
| LinearGauge | The LinearGauge instance. |
CreateLineObject(String, Base)
Creates a LineObject instance with specified name and parent.
Declaration
public static LineObject CreateLineObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the LineObject instance. |
| Base | parent | The parent of the LineObject instance. |
Returns
| Type | Description |
|---|---|
| LineObject | The LineObject instance. |
CreateMapObject(String, Base)
Creates a MapObject instance with specified name and parent.
Declaration
public static MapObject CreateMapObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the MapObject instance. |
| Base | parent | The parent of the MapObject instance. |
Returns
| Type | Description |
|---|---|
| MapObject | The MapObject instance. |
CreateMatrixObject(String, Base)
Creates a MatrixObject instance with specified name and parent.
Declaration
public static MatrixObject CreateMatrixObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the MatrixObject instance. |
| Base | parent | The parent of the MatrixObject instance. |
Returns
| Type | Description |
|---|---|
| MatrixObject | The MatrixObject instance. |
CreateMSChartObject(String, Base)
Creates a MSChartObject instance with specified name and parent.
Declaration
public static MSChartObject CreateMSChartObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the MSChartObject instance. |
| Base | parent | The parent of the MSChartObject instance. |
Returns
| Type | Description |
|---|---|
| MSChartObject | The MSChartObject instance. |
CreateOverlayBand(ReportPage)
Creates an OverlayBand in the specified ReportPage.
Declaration
public static OverlayBand CreateOverlayBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| OverlayBand | The OverlayBand instance. |
CreatePageFooterBand(ReportPage)
Creates a PageFooterBand instance in the specified ReportPage.
Declaration
public static PageFooterBand CreatePageFooterBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| PageFooterBand | The PageFooterBand instance. |
CreatePageHeaderBand(ReportPage)
Creates a PageHeaderBand instance in the specified ReportPage.
Declaration
public static PageHeaderBand CreatePageHeaderBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| PageHeaderBand | The PageHeaderBand instance. |
CreateParameter(String, Report)
Creates a Parameter instance with specified name and parent.
Declaration
public static Parameter CreateParameter(string name, Report report)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the Parameter instance. |
| Report | report | The parent Report for the new Parameter. |
Returns
| Type | Description |
|---|---|
| Parameter | The Parameter instance. |
CreatePictureObject(String, Base)
Creates a PictureObject instance with specified name and parent.
Declaration
public static PictureObject CreatePictureObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the PictureObject instance. |
| Base | parent | The parent of the PictureObject instance. |
Returns
| Type | Description |
|---|---|
| PictureObject | The PictureObject instance. |
CreatePolygonObject(String, Base)
Creates a PolygonObject instance with specified name and parent.
Declaration
public static PolygonObject CreatePolygonObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the PolygonObject instance. |
| Base | parent | The parent of the PolygonObject instance. |
Returns
| Type | Description |
|---|---|
| PolygonObject | The PolygonObject instance. |
CreatePolyLineObject(String, Base)
Creates a PolyLineObject instance with specified name and parent.
Declaration
public static PolyLineObject CreatePolyLineObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the PolyLineObject instance. |
| Base | parent | The parent of the PolyLineObject instance. |
Returns
| Type | Description |
|---|---|
| PolyLineObject | The PolyLineObject instance. |
CreateRadialGauge(String, Base)
Creates a RadialGauge instance with specified name and parent.
Declaration
public static RadialGauge CreateRadialGauge(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the RadialGauge instance. |
| Base | parent | The parent of the RadialGauge instance. |
Returns
| Type | Description |
|---|---|
| RadialGauge | The RadialGauge instance. |
CreateReportPage(Report)
Creates a ReportPage instance in the specified Report.
Declaration
public static ReportPage CreateReportPage(Report report)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | report | The Report instance. |
Returns
| Type | Description |
|---|---|
| ReportPage | The ReportPage instance. |
CreateReportPage(String, Report)
Creates a ReportPage instance in the specified Report with the cpecified name.
Declaration
public static ReportPage CreateReportPage(string name, Report report)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of page. |
| Report | report | The Report instance. |
Returns
| Type | Description |
|---|---|
| ReportPage | The ReportPage instance. |
CreateReportSummaryBand(ReportPage)
Creates a ReportSummaryBand instance in the specified ReportPage.
Declaration
public static ReportSummaryBand CreateReportSummaryBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| ReportSummaryBand | The ReportSummaryBand instance. |
CreateReportTitleBand(ReportPage)
Creates a ReportTitleBand instance in the specified ReportPage.
Declaration
public static ReportTitleBand CreateReportTitleBand(ReportPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportPage | page | The ReportPage instance. |
Returns
| Type | Description |
|---|---|
| ReportTitleBand | The ReportTitleBand instance. |
CreateRichObject(String, Base)
Creates a RichObject instance with specified name and parent.
Declaration
public static RichObject CreateRichObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the RichObject instance. |
| Base | parent | The parent of the RichObject instance. |
Returns
| Type | Description |
|---|---|
| RichObject | The RichObject instance. |
CreateShapeObject(String, Base)
Creates a ShapeObject instance with specified name and parent.
Declaration
public static ShapeObject CreateShapeObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the ShapeObject instance. |
| Base | parent | The parent of the ShapeObject instance. |
Returns
| Type | Description |
|---|---|
| ShapeObject | The ShapeObject instance. |
CreateSimpleGauge(String, Base)
Creates a SimpleGauge instance with specified name and parent.
Declaration
public static SimpleGauge CreateSimpleGauge(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SimpleGauge instance. |
| Base | parent | The parent of the SimpleGauge instance. |
Returns
| Type | Description |
|---|---|
| SimpleGauge | The SimpleGauge instance. |
CreateSimpleProgressGauge(String, Base)
Creates a SimpleProgressGauge instance with specified name and parent.
Declaration
public static SimpleProgressGauge CreateSimpleProgressGauge(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SimpleProgressGauge instance. |
| Base | parent | The parent of the SimpleProgressGauge instance. |
Returns
| Type | Description |
|---|---|
| SimpleProgressGauge | The SimpleProgressGauge instance. |
CreateSparklineObject(String, Base)
Creates a SparklineObject instance with specified name and parent.
Declaration
public static SparklineObject CreateSparklineObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SparlineObject instance. |
| Base | parent | The parent of the SparlineObject instance. |
Returns
| Type | Description |
|---|---|
| SparklineObject |
CreateStyle(String, Report)
Creates a Style instance with specified name.
Declaration
public static Style CreateStyle(string name, Report report)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the Style instance. |
| Report | report | The report to add style to. |
Returns
| Type | Description |
|---|---|
| Style | The Style instance. |
CreateSubreportObject(String, Base)
Creates a SubreportObject instance with specified name and parent.
Declaration
public static SubreportObject CreateSubreportObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SubreportObject instance. |
| Base | parent | The parent of the SubreportObject instance. |
Returns
| Type | Description |
|---|---|
| SubreportObject | The SubreportObject instance. |
CreateSVGObject(String, Base)
Creates a SVGObject instance with specified name and parent.
Declaration
public static SVGObject CreateSVGObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the SVGObject instance. |
| Base | parent | The parent of the SVGObject instance. |
Returns
| Type | Description |
|---|---|
| SVGObject | The SVGObject instance. |
CreateTableObject(String, Base)
Creates a TableObject instance with specified name and parent.
Declaration
public static TableObject CreateTableObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the TableObject instance. |
| Base | parent | The parent of the TableObject instance. |
Returns
| Type | Description |
|---|---|
| TableObject | The TableObject instance. |
CreateTextObject(String, Base)
Creates a TextObject instance with specified name and parent.
Declaration
public static TextObject CreateTextObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the TextObject instance. |
| Base | parent | The parent of the TextObject instance. |
Returns
| Type | Description |
|---|---|
| TextObject | The TextObject instance. |
CreateZipCodeObject(String, Base)
Creates a ZipCodeObject instance with specified name and parent.
Declaration
public static ZipCodeObject CreateZipCodeObject(string name, Base parent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the ZipCodeObject instance. |
| Base | parent | The parent of the ZipCodeObject instance. |
Returns
| Type | Description |
|---|---|
| ZipCodeObject | The ZipCodeObject instance. |