Table of Contents

Method IsDrawingName

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

IsDrawingName(string)

Gets whether a file's name ends in .dwg or .dxf, of either case: plan.dwg and PLAN.DXF, not plan.dwt.

public static bool IsDrawingName(string path)

Parameters

path string

The name or path of the file; null is none.

Returns

bool

Whether it names a drawing.