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

In This Topic
    AddProjectLanguage(Project,String) Method
    In This Topic
    Method for adding a project language. It adds the language to the set of possible languages.
    Syntax
    public bool AddProjectLanguage( 
       Project pProject,
       string strLanguage
    )
    public:
    bool AddProjectLanguage( 
       Project^ pProject,
       String^ strLanguage
    ) 

    Parameters

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

    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