Back to Devexpress

ChartObject.GetImage(Size) Method

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartobject-dot-getimage-x28-system-dot-drawing-dot-size-x29.md

latest1.5 KB
Original Source

ChartObject.GetImage(Size) Method

Converts the chart to an image of the specified size.

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
OfficeImage GetImage(
    Size size
)
vb
Function GetImage(
    size As Size
) As OfficeImage

Parameters

NameTypeDescription
sizeSize

A Size object that specifies image dimensions.

|

Returns

TypeDescription
OfficeImage

An OfficeImage object that is the image in the document.

|

Remarks

The GetImage renders the chart of the specified size and converts it to an image.

See Also

ChartObject Interface

ChartObject Members

DevExpress.Spreadsheet.Charts Namespace