Represents an unsupported shape which has been loaded from a workbook file.

Inherited from: WorksheetShapeWithText

Gets or sets the formatted text of the shape.

public FormattedText Text { get; set; }

Inherited from: WorksheetShape

Gets or sets the fill to use in the background of the shape.

public ShapeFill Fill { get; set; }

Inherited from: WorksheetShape

Gets or sets the cell where the bottom-right corner of the shape resides.

public WorksheetCell BottomRightCornerCell { get; set; }

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; }

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; }

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; }

Inherited from: WorksheetShape

Gets or sets the outline to use for the shape.

public ShapeOutline Outline { get; set; }

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; }

Inherited from: WorksheetShape

Gets or sets the cell where the top-left corner of the shape resides.

public WorksheetCell TopLeftCornerCell { get; set; }

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; }

Inherited from: WorksheetShape

Gets or sets the value indicating whether the shape is visible on the worksheet.

public bool Visible { get; set; }

Inherited from: WorksheetShape

Gets the worksheet on which the shape resides.

public virtual Sheet Sheet { get; }

Inherited from: WorksheetShape

Gets the worksheet on which the shape resides.

public Worksheet Worksheet { get; }

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

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

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

Returns any

Throws an exception because all data in an unknown shape is unknown, and clearing that data would leave no data with the shape.

public override void ClearUnknownData()

Returns any