Search Results for

    Show / Hide Table of Contents

    Class Config

    Contains some configuration properties and settings that will be applied to the FastReport.BG environment, including Format, and ....

    Inheritance
    System.Object
    Config
    Namespace: FastReport.BG.Utils
    Assembly: FastReport.BG.dll
    Syntax
    public static class Config

    Properties

    ApplicationFolder

    Gets the application folder.

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

    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.

    IsStringOptimization

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

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

    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

    RusCultureInfo

    Gets a russian culture information for xml purposes

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

    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 FastCube version.

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

    Methods

    RestoreFormState(Form)

    Restores the form state from the configuration file.

    Declaration
    public static void RestoreFormState(Form form)
    Parameters
    Type Name Description
    System.Windows.Forms.Form form

    The form to restore.

    SaveFormState(String, Boolean, Boolean, Point, Size)

    Saves the form state to the configuration file.

    Declaration
    public static void SaveFormState(string formName, bool isMaximized, bool isMinimized, Point location, Size size)
    Parameters
    Type Name Description
    System.String formName

    The name of the form.

    System.Boolean isMaximized

    True if the form is in maximized state.

    System.Boolean isMinimized

    True if the form is in minimized state.

    System.Drawing.Point location

    The location of the form.

    System.Drawing.Size size

    The size of the form.

    SaveFormState(Form)

    Saves the form state to the configuration file.

    Declaration
    public static void SaveFormState(Form form)
    Parameters
    Type Name Description
    System.Windows.Forms.Form form

    The form to save.

    Back to top © 2021-2022 Copyright Fast Reports Inc.