API Reference > OdDb Classes > OdDbLayout Class > OdDbLayout Methods > OdDbLayout::setPreviewImage Method
OdDbLayout::setPreviewImage Method
Syntax
C++
void setPreviewImage(const OdGiRasterImage* image);
Parameters 
Description 
const OdGiRasterImage* image 
[in] A pointer to an OdGiRasterImage object to be set as a new preivew thumbnail. 

Sets a new preview image for the layout object. 

 

Layout previews are stored as .png images. To create layout preview, the Drawings requires Raster Services module supporting .png format.

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