DashboardExportOptionBuilder.ImageExportOptions(Action<DashboardImageExportOptions>) Method

Contains options which define how the dashboard item is exported to the Image format.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.2.AspNetCore.dll

Declaration

public DashboardExportOptionBuilder ImageExportOptions(
    Action<DashboardImageExportOptions> config
)
Public Function ImageExportOptions(
    config As Action(Of DashboardImageExportOptions)
) As DashboardExportOptionBuilder

Parameters

Type Name Description
Action<DashboardImageExportOptions> config

A delegate used to customize the DashboardImageExportOptions object.

Returns

Type Description
DashboardExportOptionBuilder

A reference to this instance after the operation has completed.

Remarks

The code sample below shows how to configure Image export options:

@(Html.DevExpress().Dashboard("dashboardControl1")
    .Width("100%")
    .Height("100%")
    .OnBeforeRender("onBeforeRender")
    .Extensions(ext => {
        ext.DashboardExport(options => {
            options.ImageExportOptions(img => {
                img.ShowTitle = DevExpress.Utils.DefaultBoolean.False;
            });
        });
    })
)
See Also