API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::getPreviewImage Method
OdBmLoaderHostAppServices::getPreviewImage Method
Syntax
C++
virtual void getPreviewImage(const OdString& fileName, OdThumbnailImage& dataImage);
Parameters 
Description 
const OdString& fileName 
[in] Input name of the file from which the data are to be read.  
OdThumbnailImage& dataImage 
[out] Output OdThumbnailImage object which will contain preview image. 

Loads the preview of the specified ODA BimRv file file into the thumbnail object. 

 

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