Table of Contents

Property SecureLoad

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SecureLoad

Gets or sets what happens to a file of code outside the trusted folders: 0 loads it, 1 asks (Ask), 2 refuses it. Starts at 1, as AutoCAD does.

public int SecureLoad { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

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