Eplan Platform API
Eplan.EplApi.HEServices Namespace / Translate Class / ImportProjectTexts Method / ImportProjectTexts(String,StringCollection,Boolean) Method
Full link file name of the project from which the texts will be imported.
List of languages to import.
If set to true, translations which are already existing in the dictionary will be overwritten by the imported texts.

ImportProjectTexts(String,StringCollection,Boolean) Method
Method for importing texts from the project into the dictionary (language database). As the case may be, one or more new languages will be added to the dictionary. The language database into which the texts will be written are determined by a user setting. The languages specified in listLanguages should be already in the translation languages of the project, otherwise nothing is is imported for a language.
Syntax

Parameters

strProjectName
Full link file name of the project from which the texts will be imported.
listLanguages
List of languages to import.
bOverwrite
If set to true, translations which are already existing in the dictionary will be overwritten by the imported texts.
Exceptions
ExceptionDescription
Thrown if an error occurs during import.
Remarks
If the project given by strProjectName is not already open, it will be opened and closed again after import.
See Also