Version

SetBoundsInTwips(Sheet,Rect) Method

Sets the bounds of the shape in twips (1/20th of a point).
Syntax
public void SetBoundsInTwips( 
   Sheet sheet,
   Rect bounds
)

Parameters

sheet
The worksheet on which the shape should be placed.
bounds
The new bounds where the shape should be placed.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionsheet is null.
Remarks

The shape will only be positioned at the specified bounds while the worksheet remains in the current configuration. Depending on the PositioningMode of the shape, it may change bounds if any rows or columns before or within the shape are resized.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also