[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Aspnetcore.Viewer.ReportingSettings

ReportingSettings Class

Represents the configuration options for the report viewer.

Inheritance
ReportingSettings
Namespace: GrapeCity.ActiveReports.Aspnetcore.Viewer
Assembly: MESCIUS.ActiveReports.Web.Viewer.dll
Syntax
public class ReportingSettings

Constructors

Name Description
ReportingSettings()

Properties

Name Description
FontResolver

Gets or sets a custom font resolve for managing fonts used in report rendering.

LocateDataSource

Gets or sets a function to locate the data source, which included report parameters, based on the provided arguments.

Gets or sets a function to preprocess and return a modified hyperlink string.

Prefix

Gets or sets the web API endpoint prefix.

ResolveCredentials

Gets or sets a function used to resolve credentials required by data sources.

UseCompression

Gets or sets a value indicating whether to compress temporary data before the storing to memory/disk.

Methods

Name Description
CreateDefault()

Creates a new instance of the ReportingSettings class with default configurations.

SetLocateDataSource(Func<LocateDataSourceArgs, object>)

Sets a delegate that locates a data source based on the provided locate arguments.

StoreTemporaryFilesInMemory()

Instructs ActiveReports to store temporary data to a memory.

StoreTemporaryFilesOnDisk(DirectoryInfo)

Instructs ActiveReports to store temporary files to a disk to reduce memory consumption.

UseCodeBasedSectionReports(Assembly, string)

Uses the code-based reports that are stored in the assembly.

UseConfig(IConfigurationProvider)

Specifies the custom config provider.

UseConfig(string)

Specifies the path to the ActiveReports.config or GrapeCity.ActiveReports.config file.

UseCustomStore(Func<string, object>)

Use custom report templates store.

UseDataProviders(DataProviderInfo[])

Specifies an array of the custom data provider.

UseEmbeddedTemplates(string, Assembly)

Uses the embedded resources for report files and resources.

UseFileStore(DirectoryInfo)

Uses the built-in file store for report files and resources.