Aspose::Font::TtfTables::TtfNameTable::AddMultiLanguageNames method

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.

void Aspose::Font::TtfTables::TtfNameTable::AddMultiLanguageNames(System::SharedPtr<MultiLanguageString> mlNames, TtfNameTable::PlatformId platformId, uint16_t platformSpecificId, TtfNameTable::NameId nameId)
ParameterTypeDescription
mlNamesSystem::SharedPtr<MultiLanguageString>Multilingual string
platformIdTtfNameTable::PlatformIdPlatform identifier
platformSpecificIduint16_tPlatform-specific encoding identifier
nameIdTtfNameTable::NameIdName identifier, logical string category, specified by NameId enumeration

See Also