API Reference > Classes > PRC Export-Import Classes > OdPrcToXmlModule Class > OdPrcToXmlModule Methods > OdPrcToXmlModule::prcToXml Method
OdPrcToXmlModule::prcToXml Method
Syntax
C++
virtual OdResult prcToXml(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 (.xml file) to write to.  
ControlFlags flags = ControlFlags::kDefaultMode 
[in] A group of flags to control output in an .xml 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.