var instance = new GC.Spread.Sheets.Shapes.ShapeCollection(sheet); var value; // Type: any value = instance.ungroup(groupShape);
function ungroup( groupShape : GroupShape ) : any;
パラメータ
- groupShape
- グループ化を解除するgroupShape。
var instance = new GC.Spread.Sheets.Shapes.ShapeCollection(sheet); var value; // Type: any value = instance.ungroup(groupShape);
function ungroup( groupShape : GroupShape ) : any;
//次のサンプルコードは、groupShapeのグループ化を解除する方法を示します。 var shape1 = activeSheet.shapes.add("shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 50, 100, 150); var shape2 = activeSheet.shapes.addConnector("shape2", GC.Spread.Sheets.Shapes.ConnectorType.elbow, 200, 50, 300, 200); var shapes = [shape1, shape2]; var groupShape = activeSheet.shapes.group(shapes); activeSheet.shapes.ungroup(groupShape);