Eplan Platform API
Eplan.EplApi.HEServices Namespace / Translate Class / SetDisplayedLanguages Method / SetDisplayedLanguages(Project,String) Method
Project to be processed.
Shortcut of the language (or languages separated by comma) to be set.

In This Topic
    SetDisplayedLanguages(Project,String) Method
    In This Topic
    Method for adding a language that will be displayed in the project.
    Syntax
    public bool SetDisplayedLanguages( 
       Project pProject,
       string strLanguage
    )
    public:
    bool SetDisplayedLanguages( 
       Project^ pProject,
       String^ strLanguage
    ) 

    Parameters

    pProject
    Project to be processed.
    strLanguage
    Shortcut of the language (or languages separated by comma) to be set.

    Return Value

    True, in case of success, or if giving language was added before.
    Exceptions
    ExceptionDescription
    Thrown if null was passed as an argument.
    Thrown in case of invalid arguments.
    Internal interface necessary for add language could not be created.
    Thrown if an error occurs while adding a language.
    See Also