TtfNameTable.AddMultiLanguageNames

TtfNameTable.AddMultiLanguageNames method

Extracts all multilingual strings from passed mlNames object and creates correspondent NameRecord structure for every string extracted using passed parameters platformId, platformSpecificId and nameId. Value for field languageID is extracted from mlNames object. New just created record is added into table. If record which coincides with just created by fields platformID, platformSpecificID, nameID and, langugeId will be found, then new created record will not be added and only string data will be updated for existing record.

public void AddMultiLanguageNames(MultiLanguageString mlNames, PlatformId platformId, 
    ushort platformSpecificId, NameId nameId)
ParameterTypeDescription
mlNamesMultiLanguageStringMultilingual string
platformIdPlatformIdPlatform identifier
platformSpecificIdUInt16Platform-specific encoding identifier
nameIdNameIdName identifier, logical string category, specified by NameId enumeration

See Also