'Declaration Public Function RegisterFont( _ ByVal fontPath As System.String, _ Optional ByVal addToFallbacks As System.Boolean _ ) As System.Integer
public System.int RegisterFont( System.string fontPath, System.bool addToFallbacks )
Parameters
- fontPath
- Path to the source font file.
- addToFallbacks
- Specifies if all the registered fonts should be added to the fallback font collection.
Return Value
The number of registered fonts.