Method WhyNotDeleted
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
WhyNotDeleted(DxfDatabase, string)
Gets why a style may not be deleted, as Delete is greyed: Standard, the current style, a style a multileader uses; null where it may.
public static string WhyNotDeleted(DxfDatabase database, string name)
Parameters
databaseDxfDatabaseThe drawing.
namestringThe style's name.
Returns
- string
The reason, or null.
Exceptions
- ArgumentNullException
Thrown when the drawing is null.