API Reference > OdDb Classes > OdDbLayout Class > OdDbLayout Methods > OdDbLayout::getPreviewImage Method
OdDbLayout::getPreviewImage Method
Syntax
C++
OdGiRasterImagePtr getPreviewImage() const;

Returns the preview image associated with 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–2021. Open Design Alliance. All rights reserved.