API Reference > Classes > PRC Export-Import Classes > OdPrcToPdfModule Class > OdPrcToPdfModule Methods > prcToPdf Method > OdPrcToPdfModule::prcToPdf Method (OdPrcHostAppServices &, OdStreamBufPtr, OdStreamBufPtr, PrcToPdf::ConversionParams &)
OdPrcToPdfModule::prcToPdf Method (OdPrcHostAppServices &, OdStreamBufPtr, OdStreamBufPtr, PrcToPdf::ConversionParams &)
Syntax
C++
virtual OdResult prcToPdf(OdPrcHostAppServices & pServices, OdStreamBufPtr pPrcStream, OdStreamBufPtr pPdfStream, const PrcToPdf::ConversionParams & params);
Parameters 
Description 
OdPrcHostAppServices & pServices 
[out] A placeholder for a host services object.  
OdStreamBufPtr pPrcStream 
[in] A smart pointer to an input stream with PRC data.  
OdStreamBufPtr pPdfStream 
[in] A smart pointer to an output stream (PDF file) to write to.  
const PrcToPdf::ConversionParams & params 
[in] Conversion parameters.
 

Returns eOk if PRC data was successfully written to a specified output stream or an appropriate error code in the other case.

Writes PRC data to a specified output stream.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.