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

ASPxTreeListExporter.WritePdfToResponse(String, PdfExportOptions) Method

Exports data to the specified file in PDF format with the specified name and export options, and writes it to the Response in the binary format.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public void WritePdfToResponse(
    string fileName,
    PdfExportOptions exportOptions
)

Parameters

Name Type Description
fileName String

A String value that specifies the target file name.

exportOptions PdfExportOptions

A PdfExportOptions object that provides export options.

See Also