TreeListExtension.CreatePrintableObject(TreeListSettings, Object) Method
Enables a TreeList to be printed using the XtraPrinting Library.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static IBasePrintable 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 |
---|---|
IBasePrintable | An object supporting the IPrintable interface that defines methods that enable the TreeList to be printed. |
See Also