FontResolveEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs

public final class FontResolveEventArgs extends System.EventArgs

Provides arguments for the callback that is invoked when font is resolved.

Methods

MethodDescription
getRequestedFontName()Gets the name of requested font.
getResolvedFontName()Gets the name of resolved font.
setResolvedFontName(String value)Sets the name of resolved font.

getRequestedFontName()

public final String getRequestedFontName()

Gets the name of requested font.

Returns: java.lang.String - the name of requested font.

getResolvedFontName()

public final String getResolvedFontName()

Gets the name of resolved font. Can be set to control fonts used to render a view.

Returns: java.lang.String - Name of the requested font if font is found or name of fallback font or null if font cannot be found.

setResolvedFontName(String value)

public final void setResolvedFontName(String value)

Sets the name of resolved font. Can be set to control fonts used to render a view.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe name of resolved font.