Skip to main content
A newer version of this page is available. .

CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

Enables a CardView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static IPrintable 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
IPrintable

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

See Also