GridViewExtension.ExportToRtf(GridViewSettings, Object, String) Method

Exports the grid's data to RTF format, based on the provided settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll


public static ActionResult ExportToRtf(
    GridViewSettings settings,
    object dataObject,
    string fileName
Public Shared Function ExportToRtf(
    settings As GridViewSettings,
    dataObject As Object,
    fileName As String
) As ActionResult


Name Type Description
settings GridViewSettings

A GridViewSettings object that contains GridView settings.

dataObject Object

An object representing the GridView's data source.

fileName String

A String value that specifies the target file name.


Type Description

A ActionResult encapsulating the result of the grid data export operation.

See Also