public void UnSelectElements( IEnumerable<Element> elements )
Public Sub UnSelectElements( _ Optional ByVal elements As IEnumerable(Of Element) _ )
Parameters
- elements
- The selected elements to unselect. If null then all elements are unselected.
public void UnSelectElements( IEnumerable<Element> elements )
Public Sub UnSelectElements( _ Optional ByVal elements As IEnumerable(Of Element) _ )
Exception | Description |
---|---|
System.ArgumentException | elements must belong to layout 'URI' |
//Unselect one element. var elementToUnSelect = layout.FindElements(new List<string>() { "MyPoint" }).FirstOrDefault(); layout.UnSelectElement(elementToUnSelect); //Unselect multiple elements. var elementsToUnSelect = layout.FindElements(new List<string>() { "Point 1", "Line 3", "Text 1" }); layout.UnSelectElements(elementsToUnSelect);
Target Platforms: Windows 11, Windows 10