API Reference > Classes > PRC Export-Import Classes > OdPrcToPdfModule Class > OdPrcToPdfModule Methods > prcToPdf Method > OdPrcToPdfModule::prcToPdf Method (OdPrcHostAppServices &, OdStreamBufPtr, OdStreamBufPtr)
OdPrcToPdfModule::prcToPdf Method (OdPrcHostAppServices &, OdStreamBufPtr, OdStreamBufPtr)
Syntax
C++
virtual OdResult prcToPdf(OdPrcHostAppServices & pServices, OdStreamBufPtr pPrcStream, OdStreamBufPtr pPdfStream);
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. [in] A smart pointer to an output stream (.prc file) to write to.  
OdStreamBufPtr pPdfStream 
[in] A smart pointer to an output stream (.pdf file) to write to.
 

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.