Skip to main content
All docs
V25.1
  • ITreeList.ExportToPdfAsync(Stream, TreeListPdfExportOptions) Method

    Exports TreeList data in PDF to a stream.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    Task ExportToPdfAsync(
        Stream stream,
        TreeListPdfExportOptions options = null
    )

    Parameters

    Name Type Description
    stream Stream

    The target stream for TreeList data export.

    Optional Parameters

    Name Type Default Description
    options TreeListPdfExportOptions null

    PDF export options.

    Returns

    Type Description
    Task

    The task that is completed when the file is exported.

    Remarks

    Refer to the ExportToPdfAsync(Stream, TreeListPdfExportOptions) method description for more information and an example.

    See Also