Initializes a new instance of the [FontNotFoundException](../../com.groupdocs.watermark.exceptions/fontnotfoundexception) class with a specified font name.
Initializes a new instance of the [FontNotFoundException](../../com.groupdocs.watermark.exceptions/fontnotfoundexception) class.
FontNotFoundException(String fontName)
public FontNotFoundException(String fontName)
Initializes a new instance of the [FontNotFoundException](../../com.groupdocs.watermark.exceptions/fontnotfoundexception) class with a specified font name.
Parameters:
Parameter
Type
Description
fontName
java.lang.String
The requested font name.
getFontName()
public final String getFontName()
Gets the requested font name.
Returns:
java.lang.String - The requested font name.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.