API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods > OdPrcPreviewGenerator::init Method
OdPrcPreviewGenerator::init Method
Syntax
C++
OdResult init(OdPrcFilePtr pPRCFile);
Parameters 
Description 
OdPrcFilePtr pPRCFile 
[in] A smart pointer to a PRC file that should be used for the initialization.  

eOk if the initialization was successful; otherwise, the method returns an appropriate error code.

Initializes the preview images generator with the content of a specified PRC file.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.