Method IsCodeFile
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
IsCodeFile(string)
Says whether a file is one of the kinds AutoCAD keeps out of the current and the drawing folder while
LEGACYCODESEARCH is 0: .lsp .fas .vlx .mnl .scr .dcl .dll .arx .dvb .cuix, and .py for Python. Only the
extension is read, without regard to case, so label.LSP is one and notes.txt and acad.lin are not.
public static bool IsCodeFile(string path)
Parameters
pathstringA file name or path.
Returns
- bool
True for a file of code; false for null.