API Reference > OdDb Classes > OdDbRenderSettings Class > OdDbRenderSettings Methods > OdDbRenderSettings::setPreviewImageFileName Method
OdDbRenderSettings::setPreviewImageFileName Method
Syntax
C++
OdResult setPreviewImageFileName(const OdString& filename);
Parameters 
Description 
const OdString& filename 
[in] Filename. 

Returns eOk if successful, or an appropriate error code if not.

Sets the full filename of the preview image for this RenderSettings object.

If the PreviewImageFileName is blank, no preview image is associated with this RenderSettings object. The default value for PreviewImageFileName is blank.

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