Show / Hide Table of Contents

Class Config

Contains some configuration properties and settings that will be applied to the FastReport.Net environment, including Report, Designer and Preview components.

Inheritance
System.Object
Config
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Utils
Assembly: FastReport.OpenSource.dll
Syntax
public static class Config

Properties

ApplicationFolder

Gets the application folder.

Declaration
public static string ApplicationFolder { get; }
Property Value
Type Description
System.String

DisableHotkeys

Gets or sets a value indicating whether hotkeys should be disabled.

Declaration
public static bool DisableHotkeys { get; set; }
Property Value
Type Description
System.Boolean

EngCultureInfo

Gets an english culture information for localization purposes

Declaration
public static CultureInfo EngCultureInfo { get; }
Property Value
Type Description
System.Globalization.CultureInfo

Folder

Gets or sets the path used to load/save the configuration file.

Declaration
public static string Folder { get; set; }
Property Value
Type Description
System.String
Remarks

By default, the configuration file is saved to the application local data folder (C:\Documents and Settings\User_Name\Local Settings\Application Data\FastReport). Set this property to "" if you want to store the configuration file in the application folder.

FontListFolder

Gets or sets the path used to font.list file.

Declaration
public static string FontListFolder { get; set; }
Property Value
Type Description
System.String
Remarks

By default, the font.list file is saved to the FastReport.config folder If WebMode enabled (or config file path is null), then file is saved in the application folder.

IsStringOptimization

Gets or sets the optimization of strings. Is experimental feature.

Declaration
public static bool IsStringOptimization { get; set; }
Property Value
Type Description
System.Boolean

PreparedCompressed

Enable or disable the compression in files with prepared reports (fpx).

Declaration
public static bool PreparedCompressed { get; set; }
Property Value
Type Description
System.Boolean

ReportSettings

Gets or sets the settings for the Report component.

Declaration
public static ReportSettings ReportSettings { get; set; }
Property Value
Type Description
ReportSettings

RightToLeft

Gets or sets a value indicating whether RTL layout should be used.

Declaration
public static bool RightToLeft { get; set; }
Property Value
Type Description
System.Boolean

Root

Gets the root item of config xml.

Declaration
public static XmlItem Root { get; }
Property Value
Type Description
XmlItem

SystemTempFolder

Gets the path to the system temporary folder used to store temporary files.

Declaration
public static string SystemTempFolder { get; }
Property Value
Type Description
System.String

TempFolder

Gets or sets the path to the temporary folder used to store temporary files.

Declaration
public static string TempFolder { get; set; }
Property Value
Type Description
System.String
Remarks

The default value is null, so the system temp folder will be used.

Version

Gets FastReport version.

Declaration
public static string Version { get; }
Property Value
Type Description
System.String
Back to top Generated by DocFX