編輯

共用方式為


ShapeRange.Group Method

Definition

Groups the shapes in the specified range. Returns the grouped shapes as a single Shape object.

public:
 Microsoft::Office::Interop::Word::Shape ^ Group();
public Microsoft.Office.Interop.Word.Shape Group ();
abstract member Group : unit -> Microsoft.Office.Interop.Word.Shape
Public Function Group () As Shape

Returns

Remarks

Because a group of shapes is treated as a single shape, grouping and ungrouping shapes changes the number of items in the Shapes collection and changes the index numbers of items that come after the affected items in the collection.

Applies to