The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridViewExtension.CreatePrintableObject(GridViewSettings, Object) Method

Enables a GridView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Parameters

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).

Returns

Type Description
IPrintable

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

See Also