Represents an unsupported shape which has been loaded from a workbook file.
Inheritance
Properties
Section titled "Properties"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; } 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; } Methods
Section titled "Methods"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
Returns any
ClearUnknownData()
Section titled "ClearUnknownData()"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()