Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcPreviewGenerator::generate Method
Syntax
C++
OdResult generate(OdGiRasterImagePtr & pOutPreview, bool bZoomToExtents = true);

Generates a raster preview image for the current view. 

 

Parameters
Description
pOutPreview
[out] A smart pointer to an OdGiRasterImage object that represents generated preview image.
bZoomToExtents
[in] A flag value that determines whether the generated image should be zoomed to extents.

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.