A newer version of this page is available. Switch to the current version.

GridViewExtension.CreatePrintableObject(GridViewSettings, Object) Method

Enables a GridView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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


public static IPrintable CreatePrintableObject(
    GridViewSettings settings,
    object dataObject
Public Shared Function CreatePrintableObject(
    settings As GridViewSettings,
    dataObject As Object
) As IPrintable


Name Type Description
settings GridViewSettings

A GridViewSettings object that contains GridView settings.

dataObject Object

An object representing the GridView's data source (typically, it is passed to the grid's GridViewExtension.Bind method).


Type Description

An object supporting the IPrintable interface that defines methods that enable GridView to be printed.

See Also