Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

Declaration

[DefaultValue(DocumentCapability.Default)]
public DocumentCapability Shapes { get; set; }

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

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.

See Also