LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Group Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : Group Method



The Group Method supports WPF/Silverlight.

The Group Method is available in LEADTOOLS Document and Medical Imaging toolkits.

Groups the objects currently being edited. Supported in Silverlight, Windows Phone 7

Syntax

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

Example

For C#/VB examples, refer to CanGroup.

Remarks

This method will group one or more objects that are currently being edited into one group. The objects will be removed from the Container and added to a new AnnGroupObject. You can get this new AnnGroupObject by querying the CurrentEditObject property immediately after calling Group.

You can determine if this AnnAutomation contains objects that can be currently grouped together by calling the CanGroup property.

For more information, refer to Undoing WPF Automation Operations.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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