Skip to main content

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