ActiveReports 17 .NET Edition
GrapeCity.ActiveReports.Aspnetcore.Designer Assembly / GrapeCity.ActiveReports.Aspnetcore.Designer Namespace / DesignerSettings Class / UseConfig Method
Example

In This Topic
    UseConfig Method (DesignerSettings)
    In This Topic
    Specifies the path to GrapeCity.ActiveReports.config.
    Syntax
    'Declaration
     
    Public Sub UseConfig( _
       ByVal path As String _
    ) 
    public void UseConfig( 
       string path
    )

    Parameters

    path
    Example
    var pathToConfig = Path.Combine(Environment.CurrentDirectory, "GrapeCity.ActiveReports.config");
    
    app.UseDesigner(config =>
    {
    	config.UseConfig(pathToConfig);
    });
    See Also