API Reference > OdExport Classes > OdPrcContextForPdfExport Class > OdPrcContextForPdfExport Methods > OdPrcContextForPdfExport::getWritePdfFile Method
OdPrcContextForPdfExport::getWritePdfFile Method
Syntax
C++
virtual bool getWritePdfFile() const;

The current value of the file writing flag.

Retrieves the current 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.