ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Aspnetcore.Designer Assembly / GrapeCity.ActiveReports.Aspnetcore.Designer Namespace / DesignerSettings Class / UseFileStore Method
Example

In This Topic
    UseFileStore Method (DesignerSettings)
    In This Topic
    Use directory as the resources source.
    Syntax
    'Declaration
     
    Public Sub UseFileStore( _
       ByVal rootPath As DirectoryInfo, _
       Optional ByVal useTopDirectoryOnly As Boolean _
    ) 
    public void UseFileStore( 
       DirectoryInfo rootPath,
       bool useTopDirectoryOnly
    )

    Parameters

    rootPath
    useTopDirectoryOnly
    Example
    var resourceDirectory = new DirectoryInfo(Path.Combine(Directory.GetCurrentDirectory(), "resources" + Path.DirectorySeparatorChar));
    
    app.UseDesigner(config =>
    {
    	config.UseFileStore(resourceDirectory, false);
    });
    See Also