API Reference > OdBcf Namespace > Classes > OdBcfSession Class > OdBcfSession Methods > OdBcfSession::getScreenshot Method
OdBcfSession::getScreenshot Method
Syntax
C++
OdString getScreenshot(const OdString & projectId, const OdGUID & topicId, const OdString & fileName = OdString(), OdResult * result = NULL);
Parameters 
Description 
const OdString & projectId 
[in] A string containing project Id.  
const OdGUID & topicId 
[in] A GUID of the topic folder.  
const OdString & fileName = OdString() 
[in] A string that contains the full file name of the screenshot.  
OdResult * result = NULL 
[out] A raw pointer to a value that contains the result of the operation.  

A string that contains the path to the screenshot.

Constructs the path to the screenshot of a specified topic.

If the file name of the screenshot is not provided (an empty string is passed) the method uses the default screenshot name.

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