Table of Contents

Method SetCustomProperty

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

SetCustomProperty(string, string, CadSheetSetPropertyFlags)

Sets a custom property: the value and the owner bits of the property of that name (letter case ignored) where there is one, else a new property placed in the name order. The property is not copied to the sheets here.

public void SetCustomProperty(string name, string value, CadSheetSetPropertyFlags flags)

Parameters

name string

The name.

value string

The value; null or empty for none, which the file leaves out.

flags CadSheetSetPropertyFlags

The owner bits.

Exceptions

ArgumentNullException

Thrown when the name is null.

ArgumentException

Thrown when the name is empty.

InvalidOperationException

Thrown outside Change(Action<CadSheetSet>).