API Reference > Classes > PRC Export-Import Classes > OdPrcToXmlModule Class > OdPrcToXmlModule Methods > OdPrcToXmlModule::prcToTxt Method
OdPrcToXmlModule::prcToTxt Method
Syntax
C++
virtual OdResult prcToTxt(OdStreamBufPtr pPrcStream, OdStreamBufPtr pXmlStream, ControlFlags flags = ControlFlags::kDefaultMode);
Parameters 
Description 
OdStreamBufPtr pPrcStream 
[in] A smart pointer to an input stream with PRC data.  
OdStreamBufPtr pXmlStream 
[in] A smart pointer to an output stream (.txt file) to write to.  
ControlFlags flags = ControlFlags::kDefaultMode 
[in] A group of flags to control output in a .txt file.
 

Returns eOk if PRC data was written successfully to an .xml file 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.