 | LinetypesAddFromFile Method (String, Boolean) |
imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds all linetypes to the list from the definition in a LIN file.
Namespace:
netDxf.Collections
Assembly:
netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntaxpublic void AddFromFile(
string file,
bool reload
)
Request Example
View SourceParameters
- file
- Type: SystemString
File where the definition is located. - reload
- Type: SystemBoolean
Specifies if the linetype definitions of the file will overwrite the existing ones, in case another with the same name exists in the file.
Remarks
If the file is not found in the specified folder, it will try to find them in the list of supported folders defined in the DxfDocument.
Any text style or shape present in the linetype definition must be previously defined in the DxfDocument, if not an exception will be generated.
See Also