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

CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

Enables a CardView to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

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