ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Aspnet.Designer Assembly / GrapeCity.ActiveReports.Aspnet.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