The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.1.Core.dll

Declaration

[DefaultValue(DocumentCapability.Default)]
public DocumentCapability Shapes { get; set; }
<DefaultValue(DocumentCapability.Default)>
Public Property Shapes As DocumentCapability
[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 Value

Type Default Description
DocumentCapability

Default

A DocumentCapability enumeration value specifying the document's capability to perform an operation.

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