Eplan Platform API
Eplan.EplApi.HEServices Namespace / Translate Class / AddProjectLanguage Method / AddProjectLanguage(String,String) Method
Full link file name of the project, into which the language will be added.
Shortcut of the language to be added.

In This Topic
    AddProjectLanguage(String,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( 
       string strFullLinkFileName,
       string strLanguage
    )
    public:
    bool AddProjectLanguage( 
       String^ strFullLinkFileName,
       String^ strLanguage
    ) 

    Parameters

    strFullLinkFileName
    Full link file name of the project, into which the language will be added.
    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