Class: LabelManager

Manages labels and the creation and deletion of them.

Methods

Name Description
ClearClipboard() Clears the label clipboard.
Copy(IEnumerable<ILabel>, Type) Copies the labels of the specified type from the provided collection. The copied labels can then be pasted onto other objects using the Paste method.
Copy(IDataModelObject, Type) Copies the labels of the specified type from the provided object. The copied labels can then be pasted onto other objects using the PasteLabels method.
CreateElementNodeScoping(Int32, Int32) Creates an element node label scoping. The node must be a part of the element.
CreateElementScoping(Int32) Creates an element label scoping.
CreateLabel(IDataModelObject) Creates an associated with an object.
CreateLabel(IDataModelObject, Point) Creates an associated with an object.
CreateNodeScoping(Int32) Creates a node label scoping.
CreatePointScoping(Point) Creates a point label scoping.
CreateProbeLabel(IDataModelObject) Creates a associated with an object that supports probe labels (Currently limited to results and figures parented to results)
CreateProbeLabel(IDataModelObject, IProbeScoping) Creates a associated with an object that supports probe labels (Currently limited to results and figures parented to results)
Delete(IEnumerable<ILabel>, Type) Deletes the labels of the specified type from the provided collection.
Delete(IDataModelObject, Type) Deletes the labels of the specified type from the provided object.
Delete(ILabel) Deletes the specified label. Afterwards, any attempts to use the deleted label will throw an exception.
GetObjectLabels(IDataModelObject, Type) Returns the labels of the specified type from the provided object.
Paste(IDataModelObject) Pastes the labels from the label clipboard to the object. Labels can be copied using the Copy method.

Properties

Name Description
Labels Gets a list of all defined labels.