GlobalProfile Class

Global context of the current application instance.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class GlobalProfile
Inheritance
Object    GlobalProfile
Derived

Constructors

GlobalProfileInitializes a new instance of the GlobalProfile class

Properties

ApplicationPath Full path to the main folder of the application, with a trailing slash.
Info

Information about the program.

  Note

Returns Empty until the mathematical core is initialized.


Obsolete.
Is64Bit Determines whether current process is started using 64 bit or not.
IsPortableVersion Determines whether the current program instance is a Portable version or not.
OS Type of the Operating System.
Platform Current platform type.
SettingsDirectory Full path to the folder where all user specific parameters are stored, with a trailing slash.

Methods

ColorToWebColor Converts Color to the corresponding RGB representation prefixed by #.
Obsolete.
DisposePlugins Completing the work of add-ons.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAssembly<T> Returns assembly which contains given type.
GetBuildDateUtc Retrieves the UTC date when the specified assembly is built from AssemblyBuildDateAttribute. If assembly is null then the assembly is taken from GlobalProfile class.
GetColorByName

Parses Color from is string representation.

Falls back to Black unless colorName is recognized.


Obsolete.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsBuiltInVariable Detects if variable is built-in for SMath Studio.
IsResizableFunction Determines if the function can be handled as resizable.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PreloadAssemblies() Preloads assemblies to improve performance on their first use (to avoid freezes in UI).
PreloadAssemblies(Assembly) Preloads assembly to improve performance on its first use.
ReplaceUnicodeChars Decodes encoded text.
Obsolete.
Scale(Int32) Scales an integer represents the x- or y-coordinate to its DPI-aware value.
Scale(Single) Scales a floating number representing the x- or y-coordinate to its DPI-aware value.
SnapToGrid Snaps value to grid based on the standard grid used in the worksheets.
ToScreenDpi Scales a floating number representing the x- or y-coordinate to its screen DPI-aware value.
ToStringReturns a string that represents the current object.
(Inherited from Object)
WebColorToColor Converts Web color to ARGB value of the corresponding Color.
Obsolete.

Fields

ArgumentsSeparatorStandard Standard arguments separator symbol.
ArgumentsSeparatorSystem System defined argumants separator symbol.
AvailableLanguages Interface language translations array available to be used in the application.
BuiltInFunctions Array of the built-in functions into the application.
CanvasCursorSize Size of the cursor on the document. Usually looks like a red cross.
CanvasGridSize Grid size for the document main canvas in pixels. Used for grid rendering and for snapping document elements to correct locations.
CanvasGridSizeSmall Grid size for the document header/footer canvas in pixels. Used for grid rendering and for snapping document elements to correct locations.
ContentDpi Standard content DPI.
DecimalSymbolStandard Standard decimal symbol used in the floating point numbers.
DecimalSymbolSystem System defined decimal symbol used in the floating point numbers.
DefaultInteractiveTutorial Default realative path to the Interacting Book integrated to the application.
DefinitionOptimization Determines a default optimization type to be used during math calculations.
EntriesFolderName Name of the folder for the configuration file contains units of measurements, their dimensions and physical constants.
ExamplesFolderName Name of the folder for the example files.
FatalErrors Array of the fatal errors which has no translations.
InteractiveTutorial Currently selected Interacting Book integrated to the application.
IsAltKeyPressed Determines whether the ALT keyboard key is currently pressed by the user.
IsAutoReCalc Determines whether worksheet auto recalculation should be enabled or not.
IsCtrlKeyPressed Determines whether the CTRL keyboard key is currently pressed by the user.
IsDynamicAssistance Determines whether Dynamic Assistance feature should be turned on or not.
IsPreloadEnabled Determines whether assemblies of the current application instance should be preloaded.
IsShiftKeyPressed Determines whether the SHIFT keyboard key is currently pressed by the user.
IsWebApplication Determines whether current application instance is executed on the web server or not.
MaxTestingTime Determines maximum time used during a single worksheet testing.
namingEuro ID of the functions naming convention defined in Russia, the most European Union contries and some others.
namingWorld ID of the commonly defined functions naming convention.
Plugins List of available plug-ins.

  Note

The plug-in may be listed in Plugins but not enabled by Enabled.
ProgressFrequency Frequency in milliseconds (ms) determines how often progress of the operations should be updated.
RepresentationFolderName Name of the folder for the font rendering specifications.
Representations List of available specifications for rendering fonts.
SupportEMail E-mail for requests to support.
SystemItemsType Determines a way how to display algebraic systems.

See Also