Aspose::Font::FontFactory::Open metodo

FontFactory::Open(FontType, System::ArrayPtr<uint8_t>) method

Apre un font, usando il tipo di font e l’array di byte dei dati del font.

System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::ArrayPtr<uint8_t> fontData)
ParametroTipoDescrizione
fontTypeFontTypeFont tipo.
fontDataSystem::ArrayPtr<uint8_t>Array di byte da cui caricare il font.

ReturnValue

Font loaded.

Vedi anche

FontFactory::Open(FontType, System::SharedPtr<Sources::StreamSource>) method

Apre un font, usando il tipo di font e la sorgente di flusso.

System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::SharedPtr<Sources::StreamSource> fontStreamSource)
ParametroTipoDescrizione
fontTypeFontTypeFont tipo.
fontStreamSourceSystem::SharedPtr<Sources::StreamSource>Sorgente di stream per il font.

ReturnValue

Font loaded.

Vedi anche

FontFactory::Open(FontType, System::String) method

Apre un font, usando il tipo di font e il nome del file del font.

System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::String fileName)
ParametroTipoDescrizione
fontTypeFontTypeFont tipo.
fileNameSystem::StringFont nome file.

ReturnValue

Font loaded.

Vedi anche

FontFactory::Open(System::SharedPtr<Sources::FontDefinition>) method

Apre un font, usando l’oggetto FontDefinition.

System::SharedPtr<Font> Aspose::Font::FontFactory::Open(System::SharedPtr<Sources::FontDefinition> fontDefinition)
ParametroTipoDescrizione
fontDefinitionSystem::SharedPtr<Sources::FontDefinition>Font oggetto definizione.

ReturnValue

Font loaded.

Vedi anche