combit List & Label 29 - .NET Help
combit.Reporting.Web.WebReportViewer Namespace / WebReportViewerHelper Class / ExtractWebReportViewerScript Method
Path where the file should be extracted.
Filename which should be used.


In This Topic
    ExtractWebReportViewerScript Method
    In This Topic
    Extracts the embedded Web Report Viewer javascript file to the local file system. If you use an external frontend for example like Angular or React, you can use this feature to ensure that the backend and frontend versions always match.
    Syntax
    'Declaration
     
    
    Public Shared Function ExtractWebReportViewerScript( _
       ByVal path As String, _
       ByVal fileName As String _
    ) As Boolean
    public static bool ExtractWebReportViewerScript( 
       string path,
       string fileName
    )
    public:
    static bool ExtractWebReportViewerScript( 
       String^ path,
       String^ fileName
    ) 

    Parameters

    path
    Path where the file should be extracted.
    fileName
    Filename which should be used.

    Return Value

    true if the file was successfully created.
    Exceptions
    ExceptionDescription
    Path is null or empty or does not exist.
    Filename is null or empty.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also