public WorksheetShape Add( PredefinedShapeType shapeType, Rect boundsInTwips )
Exception | Description |
---|---|
System.InvalidOperationException | This shapes collection belongs to a WorksheetShapeGroup which isn't placed on a Worksheet yet. In this case, call Add(PredefinedShapeType,Sheet,Rect) instead and specify the Worksheet where the group will be added. |
Infragistics.Documents.Excel.MockClasses.InvalidEnumArgumentException | shapeType is not defined in the PredefinedShapeType enumeration. |
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+