API Help
Eplan.EplApi.HEServices Namespace / Reports Class / CreateEmbeddedReport Method / CreateEmbeddedReport(ReportBlock,Page,PointD,StorableObject[]) Method
Report block which describes the embedded report.
Page on which the embedded report will me placed.
Location on the Page where the upper-left corner of the embedded report will be placed.
Objects, for which the report will be created.

CreateEmbeddedReport(ReportBlock,Page,PointD,StorableObject[]) Method
Creates embedded report.
Syntax

Parameters

oReportBlock
Report block which describes the embedded report.
oPage
Page on which the embedded report will me placed.
oLocation
Location on the Page where the upper-left corner of the embedded report will be placed.
storableObjects
Objects, for which the report will be created.

Return Value

Returns ReportBlockReference object related to created report, or null if report wasn't created.
Exceptions
ExceptionDescription
Null was set to one of parameters.
If form which name and type are stored in oReportBlock has not been found in project. If name or type of form are incorrect. If page isn't interactive or one of parameters is invalid.
Failed to create embedded report. Please refer to the error message.
An internal error occurred during creating embedded report Please refer to the error message.
Thrown when invalid scheme name is set and scheme data is empty. Please refer to the error message for more information.
Remarks
Embedded report can be created only on interactive page.

If Eplan::EplApi::DataModel::ReportBlock: is set and Eplan::EplApi::DataModel::ReportBlock: is empty then Eplan::EplApi::DataModel::ReportBlock: will be filled automatically. The same is with Eplan::EplApi::DataModel::ReportBlock:.

See Also