API Help
Eplan.EplApi.HEServices Namespace / Translate Class / RemoveProjectLanguage Method / RemoveProjectLanguage(Project,String) Method
Project to be processed.
Shortcut of the language to be removed.

RemoveProjectLanguage(Project,String) Method
Method for removing a project language. It removes the language from the set of displayed languages.
Syntax
public bool RemoveProjectLanguage( 
   Project pProject,
   string strLanguage
)

Parameters

pProject
Project to be processed.
strLanguage
Shortcut of the language to be removed.

Return Value

Returns True if successful.
Exceptions
ExceptionDescription
Thrown if an error occurs while removing a language.
Thrown if null was passed as an argument.
Remarks
It is not possible to remove the source language! System message will be generated in this case. Method removes not only language from project pool, but also translations from multilangual strings in a project.
See Also