Represents any image on the worksheet except the background image.

Inheritance

constructor

public WorksheetImage(ImageWrapper image)

Returns WorksheetImage

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

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

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