CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

Enables a CardView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static IBasePrintable CreatePrintableObject(
    CardViewSettings settings,
    object dataObject
)

Parameters

Name Type Description
settings CardViewSettings

A CardViewSettings object that contains CardView settings.

dataObject Object

An object representing the CardView’s data source (typically, it is passed to the CardView’s CardViewExtension.Bind method).

Returns

Type Description
IBasePrintable

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

See Also