API Reference > OdDg Classes > OdDgHostAppServices Class > OdDgHostAppServices Methods > OdDgHostAppServices::setThumbnail Method
OdDgHostAppServices::setThumbnail Method
Syntax
C++
virtual 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.