java.lang.Object
FontSourceBase
com.aspose.words.SystemFontSource
public class SystemFontSource
- extends FontSourceBase
Represents all TrueType fonts installed to the system.
SystemFontSource
public SystemFontSource()
-
Ctor.
SystemFontSource
public SystemFontSource(int priority)
-
Ctor.
- Parameters:
priority
- Font source priority. See the Priority property description for more information.
Property Getters/Setters Detail |
-
Returns the font source priority.
This value is used when there are fonts with the same family name and style in different font sources.
In this case Aspose.Words selects the font from the source with the higher priority value.
The default value is 0.
getType | |
public int getType()
|
-
Returns the type of the font source.
The value of the property is FontSourceType integer constant.
-
Returns list of fonts available via this source.
getSystemFontFolders | |
public static java.lang.String[] getSystemFontFolders()
throws java.lang.Exception |
-
Returns system font folders or empty array if folders are not accessible.
On some platforms Aspose.Words could search system fonts not only through folders but in other sources too. For example, on Windows platform
Aspose.Words search fonts also in the registry.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.