Note: This topic is for Document/Medical only.
In design mode, if more than one object is selected when you right-click the mouse, the "Group" menu option appears and lets you group the selected objects. From that moment on, all the grouped objects are acted on as one in automation mode. When you select one object, all objects become selected. If you select the group, right-click the mouse and select the "Group Properties " menu option, you are opening a Group Properties dialog for all of the objects in the group. For instance, if you change the Fill the AnnGroupObject will enumerate all objects in the group and set the Fill value for each object that has its SupportsFill value set to true. Once you have "grouped" a set of objects, you must ungroup them before you can select only one object in that group. When you select a "grouped" set of objects and right-click the mouse, the "Ungroup" option in the menu becomes available. Selecting that option "ungroups" the objects. After that, the objects are independent again (you can select one without selecting the others). Note, when you select one or more objects in this AnnAutomation through the user interface, an AnnGroupObject will be created and the selected objects are moved from the Container to this AnnGroupObject. This AnnGroupObject is a temporary group and will be ungrouped (by calling Ungroup) and added back to the Container when the objects are not selected anymore (for example, by clicking somewhere in the container outside the group or by calling the user interface or by calling SelectNone). To determine whether the current editing object is the temporary group, first determine whether the CurrentEditObject is an AnnGroupObject, then determine whether the IsTemporary value is set to true. Use the CanGroup property to determine whether the AnnAutomation object is in a state where objects can be grouped, and the CanUngroup property to determine whether the AnnAutomation object is in a state where objects can be ungrouped. a WPF Annotation object can be in either a container or a group but not both at the same time.
Products |
Support |
Feedback: Grouping and Ungrouping WPF Annotation Objects |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.