IEstimate.GetReportWorkbook Method

Returns a Spreadsheet Gear workbook based on a report profile (PFL).
Function GetReportWorkbook( _ 
ByVal exportType As IExportType, _ 
ByVal profileFile As String, _ 
ByVal customProperties As ReportProperties
) As IWorkbook
This language is not supported or no code example is available.
IWorkbook GetReportWorkbook( 
IExportType exportType
string profileFile
ReportProperties customProperties 
)
This language is not supported or no code example is available.

Parameters

exportType
IExportType

Defines how the data will be exported in the report.

profileFile
string

The full path to the report profile (.PFL file).

customProperties
ReportProperties

The custom report properties that override the values in the report profile specified by the profileFile parameter. You can set just the properties you need, that define a specific behavior of the report. The other properties may stay unset, with null value. The argument can be set to null reference (Nothing in Visual Basic), if no custom properties should be applied.

Return Value

IWorkbook

A Spreadsheet Gear workbook containing all estimate data posted through the report profile.

Exception type Condition

QdvApiException

A problem occurred.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition