com.aspose.tasks

Interfaces

Classes

Exceptions

Class FontResolveEventArgs

  • java.lang.Object
    • com.aspose.ms.System.EventArgs
      • com.aspose.tasks.FontResolveEventArgs

  • public final class FontResolveEventArgs
    extends com.aspose.ms.System.EventArgs

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

    • Method Detail

      • getRequestedFontName

        public final String getRequestedFontName()

        Gets the name of requested font.

        Returns:
        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:
        Name of the requested font if font is found or name of fallback font or null if font cannot be found.
      • setResolvedFontName

        public final void setResolvedFontName​(String value)

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

        Parameters:
        value - the name of resolved font.