Back to Devexpress

CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-cardviewextension-dot-createprintableobject-x28-devexpress-dot-web-dot-mvc-dot-cardviewsettings-system-dot-object-x29.md

latest2.0 KB
Original Source

CardViewExtension.CreatePrintableObject(CardViewSettings, Object) Method

Enables a CardView to be printed using the XtraPrinting Library.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public static IBasePrintable CreatePrintableObject(
    CardViewSettings settings,
    object dataObject
)
vb
Public Shared Function CreatePrintableObject(
    settings As CardViewSettings,
    dataObject As Object
) As IBasePrintable

Parameters

NameTypeDescription
settingsCardViewSettings

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

TypeDescription
IBasePrintable

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

|

See Also

Card View

CardViewExtension Class

CardViewExtension Members

DevExpress.Web.Mvc Namespace