Method FindFile
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
FindFile(string, bool, out string)
Finds the specified filename and returns the path where the file is.
public bool FindFile(string filename, bool searchResourcesDirectory, out string retFileName)
Parameters
filenamestringThe filename with the extension to be searched.
searchResourcesDirectoryboolSet to true in order to search also in path return by VectorDraw.Serialize.Activator.GetResourcesDirectory() method.
retFileNamestringThe filename with it's path where it is located.
Returns
- bool
True if the file was found.
FindFile(string, out string)
Finds the specified filename and returns the path where the file is.
public bool FindFile(string filename, out string retFileName)
Parameters
filenamestringThe filename with the extension to be searched.
retFileNamestringThe filename with it's path where it is located.
Returns
- bool
True if the file was found.