Skip to main content

SpreadsheetClipboardOptions.PasteChartAsPicture Property

Gets or sets whether to paste a chart from the clipboard onto the Spreadsheet control as an image.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[DefaultValue(false)]
public bool PasteChartAsPicture { get; set; }

Property Value

Type Default Description
Boolean false

true to paste a chart as an image; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to PasteChartAsPicture
DocumentOptions
.Clipboard .PasteChartAsPicture

Remarks

When the PasteChartAsPicture option is set to true, the Spreadsheet control pastes a chart from the clipboard as an image, and appends this image to the PictureCollection collection with the default name (Picture N).

See Also