IJob.GetPrintResult method

GetPrintResult

String GetPrintResult(DataFormat dataFormat)

Referenced types: DataFormat

Gets the data of the last print operation in specified format.

Call this function after PrintForm or PrintToStreams to get the data that has been gathered while printing. Specify the data to be gathered by a call to PrintResultType before PrintForm or PrintToStreams.

Returns

The data that has been gathered while printing.

Remark

Errors are reported through the COM HRESULT. There is no separate peCode parameter. Check the HRESULT when calling the interface directly; Automation clients receive a COM error.

Parameters

Parameter / typeDescription
dataFormatDataFormat

Flags for format of generated data.

Search documentation

Search in
More scopes
Additional scopes

All contents