Skip to main content

ASPxTreeListExporter.WritePdfToResponse(Boolean) Method

In This Article

Exports data to a file in PDF format and writes it to the Response in the binary format.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public void WritePdfToResponse(
    bool saveAsFile
)

#Parameters

Name Type Description
saveAsFile Boolean

true to display the File Download dialog; false to display the PDF file with exported data within a page.

See Also