WorkbookCapabilitiesOptions.Shapes Property
Gets or sets the document’s capability to load, insert, modify and export shapes (such as lines, rectangles, basic shapes, etc.).
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.Spreadsheet.v20.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
NuGet Packages: DevExpress.Spreadsheet.Core, DevExpress.WindowsDesktop.Spreadsheet.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
DocumentCapability | **Default** | A DocumentCapability enumeration value specifying the document’s capability to perform an operation. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Shapes |
---|---|---|
WinForms Controls | SpreadsheetControlOptions |
|
Office File API | DocumentOptions |
|
WorkbookOptions |
|
Remarks
To impose restrictions on operations with pictures and charts, use the WorkbookCapabilitiesOptions.Pictures and WorkbookCapabilitiesOptions.Charts properties, respectively.
The DocumentCapability.Default property value for the Shapes is equal to the DocumentCapability.Enabled, so that the shapes are available for the Spreadsheet document by default.