Version

Search Results

Text Property (WorksheetShapeWithText)

Gets or sets the formatted text of the shape. Syntax Property Value The formatted text of the shape.

WorksheetShape Class Members

Public Properties Public Methods

BottomRightCornerCell Property

Gets or sets the cell where the bottom-right corner of the shape resides. Syntax Property Value The cell where the bottom-right corner of the shape resides. Exceptions Exception Description System.ArgumentException The value assigned is a cell whose worksheet is not the same as this shapes worksheet. System.Argume...

BottomRightCornerPosition Property

Gets or sets the position in the BottomRightCornerCell of the shapes bottom-right corner, expressed in percentages. Syntax Property Value The position in the bottom-right corner cell of the shapes bottom-right corner. Exceptions Exception Description System.ArgumentOutOfRangeException Either coordinate of the valu...

ClearUnknownData Method (WorksheetShape)

Clears the cached unknown shape data which was read in from a parsed excel file. Syntax Exceptions Exception Description System.InvalidOperationException This method is called on an UnknownShape instance. Remarks This method will only be needed until all shape information is supported and customizable. After all s...

CreatePredefinedShape(PredefinedShapeType) Method

Creates a shape which is predefined in Microsoft Excel. Syntax Parameters shapeType The type of shape to create. Return Value A WorksheetShape-derived instance representing the predefined shape. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException shapeType is not defined in the Pred...

CreatePredefinedShape Method

Creates a shape which is predefined in Microsoft Excel. Overload List