Aspose::Font::Cff::CffFont::GetGlyphById 方法
内容
[
隐藏
]CffFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId>) method
根据字形 ID 返回字形。字形 ID 是字形的唯一编号,取决于字体类型。CFF Font 的字形 ID 可以是 (GlyphStringId) 类或 (GlyphUInt32Id) 类的实例。
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId> id) override
| 参数 | 类型 | 描述 |
|---|---|---|
| 标识符 | System::SharedPtr<Glyphs::GlyphId> | 字形 id。 |
ReturnValue
Glyph。
另见
- Typedef SharedPtr
- Class Glyph
- Class GlyphId
- Class CffFont
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++
CffFont::GetGlyphById(System::String) method
通过字形名称返回字形。
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::String glyphName)
| 参数 | 类型 | 描述 |
|---|---|---|
| glyphName | System::String | 字形名称。 |
ReturnValue
Glyph。
另见
- Typedef SharedPtr
- Class Glyph
- Class String
- Class CffFont
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++
CffFont::GetGlyphById(uint32_t) method
根据字形 id 返回字形。
System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(uint32_t id)
| 参数 | 类型 | 描述 |
|---|---|---|
| 标识符 | uint32_t | 字形 id。 |
ReturnValue
Glyph。
另见
- Typedef SharedPtr
- Class Glyph
- Class CffFont
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++