Represents a group of shapes in a worksheet. This group is also a shape which can be positioned and contained within another group or on a worksheet.
Inheritance
Classes that extend this class.
Derived ClassesProperties
Section titled "Properties"Inherited from: WorksheetShape
Gets or sets the fill to use in the background of the shape.
public ShapeFill Fill { get; set; } BottomRightCornerCell
Section titled "BottomRightCornerCell"Inherited from: WorksheetShape
Gets or sets the cell where the bottom-right corner of the shape resides.
public WorksheetCell BottomRightCornerCell { get; set; } BottomRightCornerPosition
Section titled "BottomRightCornerPosition"Inherited from: WorksheetShape
Gets or sets the position in the of the shape's bottom-right corner, expressed in percentages.
public Point BottomRightCornerPosition { get; set; } FlippedHorizontally
Section titled "FlippedHorizontally"Inherited from: WorksheetShape
Gets or sets the value which indicates whether the shape is flipped horizontally along the vertical center line.
public bool FlippedHorizontally { get; set; } FlippedVertically
Section titled "FlippedVertically"Inherited from: WorksheetShape
Gets or sets the value which indicates whether the shape is flipped vertically along the horizontal center line.
public bool FlippedVertically { get; set; } Outline
Section titled "Outline"Inherited from: WorksheetShape
Gets or sets the outline to use for the shape.
public ShapeOutline Outline { get; set; } PositioningMode
Section titled "PositioningMode"Inherited from: WorksheetShape
Gets or sets the way shapes will be repositioned in excel when cells before or within the shape are resized.
public ShapePositioningMode PositioningMode { get; set; } TopLeftCornerCell
Section titled "TopLeftCornerCell"Inherited from: WorksheetShape
Gets or sets the cell where the top-left corner of the shape resides.
public WorksheetCell TopLeftCornerCell { get; set; } TopLeftCornerPosition
Section titled "TopLeftCornerPosition"Inherited from: WorksheetShape
Gets or sets the position in the of the shape's top-left corner, expressed in percentages.
public Point TopLeftCornerPosition { get; set; } Visible
Section titled "Visible"Inherited from: WorksheetShape
Gets or sets the value indicating whether the shape is visible on the worksheet.
public bool Visible { get; set; } Sheet
Section titled "Sheet"Inherited from: WorksheetShape
Gets the worksheet on which the shape resides.
public virtual Sheet Sheet { get; } Worksheet
Section titled "Worksheet"Inherited from: WorksheetShape
Gets the worksheet on which the shape resides.
public Worksheet Worksheet { get; } Shapes
Section titled "Shapes"Gets the collection of shapes contained in the group.
public WorksheetShapeCollection Shapes { get; } Methods
Section titled "Methods"ClearUnknownData()
Section titled "ClearUnknownData()"Inherited from: WorksheetShape
Clears the cached unknown shape data which was read in from a parsed excel file.
public virtual void ClearUnknownData() Returns any
CreatePredefinedShape(PredefinedShapeType)
Section titled "CreatePredefinedShape(PredefinedShapeType)"Inherited from: WorksheetShape
Creates a shape which is predefined in Microsoft Excel.
public static WorksheetShape CreatePredefinedShape(PredefinedShapeType shapeType) Parameters
- shapeType:
PredefinedShapeType
Returns any
GetBoundsInTwips()
Section titled "GetBoundsInTwips()"Inherited from: WorksheetShape
Gets the bounds of the shape in twips (1/20th of a point).
public virtual Rect GetBoundsInTwips() Returns any
GetBoundsInTwips(PositioningOptions)
Section titled "GetBoundsInTwips(PositioningOptions)"Inherited from: WorksheetShape
Gets the bounds of the shape in twips (1/20th of a point).
public virtual Rect GetBoundsInTwips(PositioningOptions options) Parameters
- options:
PositioningOptions
Returns any
SetBoundsInTwips(Sheet, Rect)
Section titled "SetBoundsInTwips(Sheet, Rect)"Inherited from: WorksheetShape
Sets the bounds of the shape in twips (1/20th of a point).
public void SetBoundsInTwips(Sheet sheet, Rect bounds) Parameters
- sheet:
Sheet - bounds:
Rect
Returns any
SetBoundsInTwips(Sheet, Rect, PositioningOptions)
Section titled "SetBoundsInTwips(Sheet, Rect, PositioningOptions)"Inherited from: WorksheetShape
Sets the bounds of the shape in twips (1/20th of a point).
public void SetBoundsInTwips(Sheet sheet, Rect bounds, PositioningOptions options) Parameters
- sheet:
Sheet - bounds:
Rect - options:
PositioningOptions