API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods > OdPrcPreviewGenerator::generatePreviewSet Method
OdPrcPreviewGenerator::generatePreviewSet Method
Syntax
C++
OdResult generatePreviewSet(OdGiRasterImagePtrArray & arrRasImg);
Parameters 
Description 
OdGiRasterImagePtrArray & arrRasImg 
[out] An array of smart pointers to preview images, which should be created as the result of the generation process.
 

Returns the eOk value if the preview images were successfully generated, otherwise the method returns an appropriate error code.

Generates raster preview image for each view that exists in the PRC file associated with the generator. 

 

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