Report Manager Documentation

Translator Members

Translator overview

Public Static Properties


Public Static Methods

TranslateStr TranslateStr is a class function, can be called without instantiating any Translator, it will look for resource files the file must be in path, else a default string will be returned this.Text=Reportman.Translator.TranslateStr(4);

Public Instance Constructors

Translator Overloaded. Initializes a new instance of the Translator class.

Public Instance Properties

Active Set this property to true to open the resource file. Before obtaining translations, this property must be set.
AutoLocale When this property is set to true, the provided file name will extended with the current user regional extension
Container (inherited from Component) 
Count Number of items in the resource file
Filename Resource file to load strings from, you usually provide the file name without extension, so with, Autolocale set to true, the extension will be added based on the current user regional settings.
Item You can access translation providing an integer index. The Active property must be set to true before accessing translations
Site (inherited from Component) 

Public Instance Methods

AddString You can add elements to the resource using this function.
CreateObjRef (inherited from MarshalByRefObject) 
Dispose (inherited from Component)Overloaded.  
Equals (inherited from Object) 
FileExists Check if the resource file exists.
GetHashCode (inherited from Object) 
GetLifetimeService (inherited from MarshalByRefObject) 
GetType (inherited from Object) 
InitializeLifetimeService (inherited from MarshalByRefObject) 
LoadFromFile Load the resource from a file.
LoadFromStream Load the resource from any Stream.
ToString (inherited from Component) 
UpdateContent Call this method to reload content from resource file

Public Instance Events

Disposed (inherited from Component) 

Protected Instance Properties

DesignMode (inherited from Component) 
Events (inherited from Component) 

Protected Instance Methods

DisposeOverloaded. Dispose used elements.
Finalize (inherited from Component) 
GetService (inherited from Component) 
MemberwiseClone (inherited from Object) 

See Also

Translator Class | Reportman.Drawing Namespace