Aspose::Font::Sources::FontDefinition::Open Methode

FontDefinition::Open(System::SharedPtr<StreamSource>, Aspose::Font::FontType) method

Gibt FontDefinition für die Font‑Stream‑Quelle und den Font‑Typ zurück.

static System::SharedPtr<FontDefinition> Aspose::Font::Sources::FontDefinition::Open(System::SharedPtr<StreamSource> source, Aspose::Font::FontType fontType)
ParameterTypBeschreibung
sourceSystem::SharedPtr<StreamSource>Font Streamquelle.
fontTypeAspose::Font::FontTypeFont Typ.

ReturnValue

FontDefinition.

Siehe auch

FontDefinition::Open(System::String, Aspose::Font::FontType) method

Gibt FontDefinition für die Font‑Datei und den Font‑Typ zurück.

static System::SharedPtr<FontDefinition> Aspose::Font::Sources::FontDefinition::Open(System::String fileName, Aspose::Font::FontType fontType)
ParameterTypBeschreibung
fileNameSystem::StringFont Dateiname.
fontTypeAspose::Font::FontTypeFont Typ.

ReturnValue

FontDefinition.

Siehe auch