Table of Contents

Method Find

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Find(string, string)

Finds the file of a template named as typed: as typed, else in the template folder, else, for a name with no folder, the first of that name in the folder's subfolders; a name with no extension is given .dwt, as AutoCAD does.

public static string Find(string typed, string folder)

Parameters

typed string

The name or path.

folder string

The template folder.

Returns

string

The full path of the file; null where there is none.