com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FontAbsorber



  • public class FontAbsorber
    extends Object

    Represents an absorber object of fonts. Performs search for fonts and provides access to search results via FontAbsorber.Fonts collection.

    • Constructor Detail

      • FontAbsorber

        public FontAbsorber()

        Initializes a new instance of the FontAbsorber that performs search for fonts of the document.

    • Method Detail

      • getFonts

        public FontCollection getFonts()

        Gets collection of search occurrences that are presented with Font objects.

        Returns:
        FontCollection object
      • visit

        public void visit(Document pdf,
                          int startPage,
                          int pageCount)

        Performs search in the specified range of pages of the document.

        Parameters:
        pdf - Pdf pocument object.
        startPage - Pdf pocument start page.
        pageCount - Pdf document page count
      • visit

        public void visit(Document pdf)

        Performs search on the specified document.

        Parameters:
        pdf - Pdf pocument object.