API Reference > OdDg Classes > OdDgDatabase Class > OdDgDatabase Methods > setThumbnail Method > OdDgDatabase::setThumbnail Method (OdString&, OdBinaryData&)
OdDgDatabase::setThumbnail Method (OdString&, OdBinaryData&)
Syntax
C++
static bool setThumbnail(const OdString& filename, const OdBinaryData& dibData);
Parameters 
Description 
const OdString& filename 
[in] Name of file.  
const OdBinaryData& dibData 
[in] Binary data of thumbnail 

Set custom thumbnail to file. 

 

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