Version

Search Results

Fill Property (WorksheetShape)

Gets or sets the fill to use in the background of the shape. Syntax Property Value A ShapeFill-derived instance describing the fill of the shape, or null for no fill. Remarks Note: some shapes, such as connectors or groups, cannot have a fill set. For these shapes, the value on this property will be ignored and lo...

FlippedHorizontally Property

Gets or sets the value which indicates whether the shape is flipped horizontally along the vertical center line. Syntax Exceptions Exception Description System.InvalidOperationException The value is set to True and this shape doesnt allow flipping or rotating, such as a WorksheetChart.

FlippedVertically Property

Gets or sets the value which indicates whether the shape is flipped vertically along the horizontal center line. Syntax Exceptions Exception Description System.InvalidOperationException The value is set to True and this shape doesnt allow flipping or rotating, such as a WorksheetChart.

GetBoundsInTwips() Method

Gets the bounds of the shape in twips (1/20th of a point). Syntax Return Value The bounds of the shape on its worksheet. Exceptions Exception Description System.InvalidOperationException The TopLeftCornerCell or BottomRightCornerCell are null, in which case the shape has no bounds. Remarks The bounds returned by t...

GetBoundsInTwips(PositioningOptions) Method

Gets the bounds of the shape in twips (1/20th of a point). Syntax Parameters options The options to use when getting the bounds of the shape. Return Value The bounds of the shape on its worksheet. Exceptions Exception Description System.InvalidOperationException The TopLeftCornerCell or BottomRightCornerCell are n...

GetBoundsInTwips Method (WorksheetShape)

Gets the bounds of the shape in twips (1/20th of a point). Overload List

Outline Property

Gets or sets the outline to use for the shape. Syntax Property Value A ShapeOutline-derived instance describing the outline of the shape, or null for no outline. Remarks Note: some shapes, such as comments or groups, cannot have a outline set. For these shapes, the value on this property will be ignored and lost w...

PositioningMode Property

Gets or sets the way shapes will be repositioned in excel when cells before or within the shape are resized. Syntax Property Value The way shapes will be repositioned in excel when cells before or within the shape are resized. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The ...

SetBoundsInTwips(Worksheet,Rectangle) Method

Sets the bounds of the shape in twips (1/20th of a point). Syntax Parameters worksheet The worksheet on which the shape should be placed.bounds The new bounds where the shape should be placed. Exceptions Exception Description System.ArgumentNullException worksheet is null. Remarks The shape will only be positioned...

SetBoundsInTwips(Worksheet,Rectangle,PositioningOptions) Method

Sets the bounds of the shape in twips (1/20th of a point). Syntax Parameters worksheet The worksheet on which the shape should be placed.bounds The new bounds where the shape should be placed.options The options to use when setting the bounds of the shape. Exceptions Exception Description System.ArgumentNullExcept...