TreeListExtension.CreatePrintableObject(TreeListSettings, Object) Method

Enables a TreeList to be printed using the XtraPrinting Library.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

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

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
IBasePrintable

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

See Also