Skip to main content

CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

Enables a CardView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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