CreateEmbeddedReport(ReportBlock,Page,PointD,StorableObject[]) Method
Creates embedded report.
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.
Exception | Description |
System.ArgumentNullException | Null was set to one of parameters. |
System.ArgumentException | 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. |
System.ApplicationException | Failed to create embedded report. Please refer to the error message. |
BaseException | An internal error occurred
during creating embedded report
Please refer
to the error
message. |
Eplan.EplApi.HEServices.Exceptions.InvalidScheme | Thrown when invalid scheme name is set and scheme data is empty.
Please refer to the error message for more information. |