[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Parent

Parent Property

Parent

Returns the shape's parent sheet.

Returns the IWorksheet that contains this shape.

Declaration
IWorksheet Parent { get; }
ReadOnly Property Parent As IWorksheet
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
IWorksheet parent = shape.Parent;
string sheetName = parent.Name;