Table of Contents

Property SecureLoad

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SecureLoad

Gets or sets SECURELOAD, what happens to a file of code outside the trusted folders: 0 loads it, 1, the default, asks with AutoCAD's warning (Always Load, Load Once, Do Not Load) and 2 refuses it. Saved in the settings file; the window gives it to the CadLoadSecurity of its drawings.

public int SecureLoad { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value is not 0, 1 or 2.