Table of Contents

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

filename string

The filename with the extension to be searched.

searchResourcesDirectory bool

Set to true in order to search also in path return by VectorDraw.Serialize.Activator.GetResourcesDirectory() method.

retFileName string

The 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

filename string

The filename with the extension to be searched.

retFileName string

The filename with it's path where it is located.

Returns

bool

True if the file was found.