Open
Open(string, FontType)
Returnerar FontDefinition för teckensnittsfil och teckensnittstyp.
public static FontDefinition Open(string fileName, FontType fontType)
| Parameter | Typ | Beskrivning |
|---|---|---|
| fileName | String | Font filnamn. |
| fontType | FontType | Typsnitt. |
Returvärde
FontDefinition.
Se även
- enum FontType
- class FontDefinition
- namnutrymme Aspose.Font.Sources
- hopsättning Aspose.Font
Open(StreamSource, FontType)
Returnerar FontDefinition för teckensnittsströmkälla och teckensnittstyp.
public static FontDefinition Open(StreamSource source, FontType fontType)
| Parameter | Typ | Beskrivning |
|---|---|---|
| source | StreamSource | Fontströmkälla. |
| fontType | FontType | Typsnitt. |
Returvärde
FontDefinition.
Se även
- class StreamSource
- enum FontType
- class FontDefinition
- namnutrymme Aspose.Font.Sources
- hopsättning Aspose.Font