Skip to main content
All docs
V25.2
  • TdxReport.ExportToMHT(TStream) Method

    Exports report content to a stream as a MIME HTML document.

    Declaration

    procedure ExportToMHT(AStream: TStream);

    Parameters

    Name Type Description
    AStream TStream

    The target stream.

    Remarks

    Call the ExportToMHT procedure to export report content to a stream in the MHT format. The ExportTimeout property specifies the timeout interval (in milliseconds) for export operations.

    MHT Export Settings

    The Report Designer dialog allows you to configure MHT export settings. Open the Properties tab and expand the following nodes to modify MHT export settings: Behavior | Export Options | MHT Export Options.

    VCL Reports: Export Format Settings in the Report Designer Dialog

    Other Export Methods

    You can call the following procedures to export report content to a stream in other formats:

    ExportTo
    Exports report content to a stream in any supported format.
    ExportToCSV
    Exports report content to a stream in the comma-separated values (CSV) format.
    ExportToDOCX
    Exports report content to a stream as a DOCX document.
    ExportToHTML
    Exports report content to a stream as an HTML document.
    ExportToImage
    Exports report content to a stream in the current image export format.
    ExportToPDF
    Exports report content to a stream in PDF format.
    ExportToRTF
    Exports report content to a stream as an RTF-formatted string.
    ExportToText
    Exports report content to a stream as plain text.
    ExportToXLS
    Exports report content to a stream in Microsoft Excel® binary format (XLS).
    ExportToXLSX
    Exports report content to a stream in Office Open XML spreadsheet format (XLSX).
    See Also