Exception | Description |
---|---|
System.ArgumentNullException | shape is null. |
System.InvalidOperationException | shape has already been added to a worksheet or group. |
System.InvalidOperationException | shape does not have the TopLeftCornerCell or BottomRightCornerCell set. |
System.InvalidOperationException | Adding shape to this collection will place it on a different worksheet then either its TopLeftCornerCell or BottomRightCornerCell or shape is a WorksheetShapeGroup and adding it to this collection will create a similar situation for one of its descendant shapes. |
System.InvalidOperationException | shape is a WorksheetShapeGroup and this is the group's collection of shapes. |
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+