Ejemplo n.º 1
0
        public static void Ungroup(IGroup group, List <IItemProperties> ungroupedStamps)
        {
            if (group.Locked)
            {
                return;
            }

            for (int i = 0; i < group.Children.Count; i++)
            {
                IItemProperties stamp = group.Children[i];
                stamp.Move(group.X, group.Y);
                stamp.ZOrder = group.ZOrder + i;
                ungroupedStamps.Add(stamp);
            }
        }