Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Ungroup Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Ungroup Method



Ungroups the AnnGroupObject object currently being edited.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Ungroup() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
 
instance.Ungroup()
C# 
public virtual void Ungroup()
C++/CLI 
public:
virtual void Ungroup(); 

Example

For C#/VB examples, refer to CanGroup.

Remarks

This method will ungroup the AnnGroupObject currently being edited. The objects inside this AnnGroupObject will be added into the Container and the AnnGroupObject will be removed.

You can determine if this AnnAutomation contains an AnnGroupObject that is being edited and can be ungrouped by calling the CanUngroup property.

Ungroup internally calls the AnnGroupObjectAnnGroupObject.Ungroup method.

For more information, refer to Undoing WPF Automation Operations.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Ungroup requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.