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

    Parameter NameDescription
    strFullLinkFileNameFull link file name of the project, into which the language will be added.
    strLanguageShortcut 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.
    Thrown if the internal interface necessary for adding languages could not be created.
    Thrown if an error occured while adding a language.
    See Also