Syncfusion.XlsIO.Base
Example 


Items Property (IGroupShape)

Returns the array of individual shapes in the specified IGroupShape.
Syntax
'Declaration
 
ReadOnly Property Items As IShape()
'Usage
 
Dim instance As IGroupShape
Dim value() As IShape
 
value = instance.Items
IShape[] Items {get;}
Example
The following code illustrates how to get items from group shape.
using Syncfusion.XlsIO;
            
class Program
{
    static void Main()
    {
        using (ExcelEngine excelEngine = new ExcelEngine())
        {
            //Create worksheet
            IApplication application = excelEngine.Excel;
            application.DefaultVersion = ExcelVersion.Excel2013;
            IWorkbook workbook = application.Workbooks.Open("GroupShapes.xlsx");
            IWorksheet worksheet = workbook.Worksheets[0];
            
            IShapes shapes = worksheet.Shapes;
            IShape[] groupItems = (shapes[0] as IGroupShape).Items;
            
            //Save and dispose
            workbook.SaveAs("GroupShapes.xlsx");
            workbook.Close();
        }
    }
}
AssemblyVersion

Syncfusion.XlsIO.Base: 17.2460.0.34

See Also