API Reference > Classes > PRC Protocol Extensions Classes > ExPrcCommandContext Class > ExPrcCommandContext Methods > ExPrcCommandContext::getFilePath Method
ExPrcCommandContext::getFilePath Method
Syntax
C++
virtual OdString getFilePath(const OdString& prompt, int options, const OdString& dialogCaption, const OdString& defExt, const OdString& fileName, const OdString& filter, const OdString& keywords = OdString::kEmpty, OdEdStringTracker* pTracker = 0);
Parameters 
Description 
const OdString& prompt 
[in] A prompt string with text printed before waiting for user input.  
int options 
[in] A set of input options (bitwise or combination of the OdEd::CommonInputOptions enum).  
const OdString& dialogCaption 
[in] Text for the dialog caption.  
const OdString& defExt 
[in] A default file extension.  
const OdString& fileName 
[in] A file name.  
const OdString& filter 
[in] A filter for files (*.*, *.txt, etc).  
const OdString& keywords = OdString::kEmpty 
[in] A string with a keywords list.  
OdEdStringTracker* pTracker = 0 
[in] A pointer to a notification interface for tracking changes in the command context object.  

Returns the entered file path.

Gets user input of a distance value from the command's input.

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