API Reference > OdExport Classes > OdPrcContextForPdfExport Class > OdPrcContextForPdfExport Methods > OdPrcContextForPdfExport::setWritePdfFile Method
OdPrcContextForPdfExport::setWritePdfFile Method
Syntax
C++
virtual void setWritePdfFile(bool flag);
Parameters 
Description 
bool flag 
[in] A new flag value to be set. 

Sets a new value of the flag that determines whether the writing to a .pdf file is needed.

The flag value is equal to false if it is needed to get only a PRC stream as the export result; otherwise, its value is equal to true. In this case, an output .pdf file is created.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.