.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

Declaration

[DefaultValue(DocumentCapability.Default)]
public DocumentCapability Shapes { get; set; }
<DefaultValue(DocumentCapability.Default)>
Public Property Shapes As DocumentCapability

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 SpreadsheetControl
SpreadsheetControlOptions
Office File API DocumentOptions
ISpreadsheetComponent
Workbook

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