IEstimate.GetPdfFromReport Method

Returns a PDF file based on a report profile (PFL).
Function GetPdfFromReport( _ 
ByVal profileFile As String, _ 
ByVal customProperties As ReportProperties
) As Byte()
This language is not supported or no code example is available.
byte[] GetPdfFromReport( 
string profileFile
ReportProperties customProperties 
)
This language is not supported or no code example is available.

Parameters

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

byte[]

A bytes array containing an image of the PDF file containing all estimate data posted through the report profile.

Exception type Condition

QdvApiException

A problem occurred.

Version
 
Available since QDV 7.22.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition