GroupShapes Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the individual shapes within a grouped shape.
public interface class GroupShapes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002443C-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface GroupShapes : System.Collections.IEnumerable
Public Interface GroupShapes
Implements IEnumerable
- Attributes
- Implements
Remarks
Each shape is represented by a Shape object. Using the Item(Object) method with this object, you can work with single shapes within a group without having to ungroup them.
Use the GroupItems property to return the GroupShapes collection. Use GroupItems(index
), where index
is the number of the individual shape within the grouped shape, to return a single shape from the GroupShapes collection.
Properties
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Parent |
Returns the parent object for the specified object. |
Range[Object] |
Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection. |
Methods
_Default(Object) |
Reserved for internal use. |
GetEnumerator() | |
Item(Object) |
Returns a single object from a collection. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應