Back to Devexpress

TreeListExtension.CreatePrintableObject(TreeListSettings, Object) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-treelistextension-dot-createprintableobject-x28-devexpress-dot-web-dot-mvc-dot-treelistsettings-system-dot-object-x29.md

latest2.0 KB
Original Source

TreeListExtension.CreatePrintableObject(TreeListSettings, Object) Method

Enables a TreeList 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(
    TreeListSettings settings,
    object dataObject
)
vb
Public Shared Function CreatePrintableObject(
    settings As TreeListSettings,
    dataObject As Object
) As IBasePrintable

Parameters

NameTypeDescription
settingsTreeListSettings

A TreeListExtension object that contains TreeList settings.

| | dataObject | Object |

An object representing the TreeList’s data source (typically, it is passed to the treelist’s TreeListExtension.Bind method).

|

Returns

TypeDescription
IBasePrintable

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

|

See Also

Tree List

TreeListExtension Class

TreeListExtension Members

DevExpress.Web.Mvc Namespace