Skip to main content
All docs
V25.2
  • PrintHelper.ExportToMht(IBasePrintable, String, MhtExportOptions) Method

    SECURITY-RELATED CONSIDERATIONS

    Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

    Namespace: DevExpress.Xpf.Printing

    Assembly: DevExpress.Xpf.Printing.v25.2.dll

    NuGet Package: DevExpress.Wpf.Printing

    Declaration

    public static void ExportToMht(
        IBasePrintable source,
        string filePath,
        MhtExportOptions options
    )

    Parameters

    Name Type
    source IBasePrintable
    filePath String
    options MhtExportOptions
    See Also