Aspose::Font::NameToCodeMap Class Reference

Represents name to code map. More...

#include <NameToCodeMap.h>

Inherits System::Object.

Public Member Functions

ASPOSE_FONT_SHARED_API int32_t get_Count ()
 Gets count of pairs name-code in the map.
 
ASPOSE_FONT_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::String, int32_t >::KeyCollection > get_Keys ()
 Returns string names collection.
 
ASPOSE_FONT_SHARED_API int32_t idx_get (System::String name)
 Gets code by name.
 
ASPOSE_FONT_SHARED_API bool ContainsKey (System::String name)
 Returns true in case the key is already in the map.
 

Detailed Description

Represents name to code map.

Member Function Documentation

◆ ContainsKey()

ASPOSE_FONT_SHARED_API bool Aspose::Font::NameToCodeMap::ContainsKey ( System::String name)

Returns true in case the key is already in the map.

Parameters
nameGlyph name.
Returns
True or false.

◆ get_Count()

ASPOSE_FONT_SHARED_API int32_t Aspose::Font::NameToCodeMap::get_Count ( )

Gets count of pairs name-code in the map.

◆ get_Keys()

ASPOSE_FONT_SHARED_API System::SharedPtr< System::Collections::Generic::Dictionary< System::String, int32_t >::KeyCollection > Aspose::Font::NameToCodeMap::get_Keys ( )

Returns string names collection.

◆ idx_get()

ASPOSE_FONT_SHARED_API int32_t Aspose::Font::NameToCodeMap::idx_get ( System::String name)

Gets code by name.

Parameters
nameGlyph name.