private isGraphicCommand ( string extractedCommand ) : bool | ||
extractedCommand | string | |
Результат | bool |
private bool isGraphicCommand(string extractedCommand)//07Sep2012
{
string command = extractedCommand.Replace('(', ' ').Trim(); //remove the open parenthesis from the end.
//// searching list ////
bool graphic = false;
string tempcomm;
if (registeredGraphicsList.ContainsKey(command))
{
registeredGraphicsList.TryGetValue(command, out imgDim);
graphic = true;
}
lastcommandwasgraphic = graphic;
return graphic;
}