Skip to main content
A newer version of this page is available. .

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

Declaration

public static IPrintable CreatePrintableObject(
    TreeListSettings settings,
    object dataObject
)

Parameters

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

Returns

Type Description
IPrintable

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

See Also