Table of Contents

Method Resolve

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Resolve(string, string)

Where a file of a connection string is: itself where it is a full path, else in the folder of the drawing; null where it is relative and the drawing has no folder yet.

public static string Resolve(string file, string drawingFolder)

Parameters

file string

The file as the connection string names it.

drawingFolder string

The drawing's folder; null or empty for a drawing not saved.

Returns

string

The full path, or null.