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

TreeListExtension.CreatePrintableObject(TreeListSettings, Object) Method

Enables a TreeList to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

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


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


Name Type Description
settings TreeListSettings

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).


Type Description

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

See Also