Aspose::Font::TtfTables::TtfNameTable::AddName method

TtfNameTable::AddName method

Adds entry into the table. String data category to add is specified by name parameter.

void Aspose::Font::TtfTables::TtfNameTable::AddName(TtfNameTable::NameId nameId, TtfNameTable::PlatformId platformId, int32_t platformSpecificId, int32_t languageId, System::String name)
ParameterTypeDescription
nameIdTtfNameTable::NameIdName identifier, logical string category, specified by NameId enumeration
platformIdTtfNameTable::PlatformIdPlatform identifier
platformSpecificIdint32_tPlatform-specific encoding identifier. Please, use value from one of such enumerations - UnicodePlatformSpecificId, MacPlatformSpecificId, MSPlatformSpecificId. What enumeration to use is defined by context (platformId parameter)
languageIdint32_tLanguage identifier. Please, use value from MSLanguageId or MacLanguageId enumerations depend from context, defined by platformId parameter.
nameSystem::StringActual string data

See Also