public virtual Rect GetBoundsInTwips( PositioningOptions options )
Exception | Description |
---|---|
System.InvalidOperationException | The TopLeftCornerCell or BottomRightCornerCell are null, in which case the shape has no bounds. |
The bounds returned by this method are only valid with the current configuration of the worksheet. If any rows or columns before or within the shape are resized, these bounds will no longer reflect the position of the shape.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+