com.groupdocs.viewer.interfaces

Interface CreateResourceStream



  • public interface CreateResourceStream
    Represents interface that instantiates stream used to write output HTML resource data.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      OutputStream invoke(int pageNumber, Resource resource)
      The method must return OutputStream that will be used to write output HTML resource data.
    • Method Detail

      • invoke

        OutputStream invoke(int pageNumber,
                          Resource resource)

        The method must return OutputStream that will be used to write output HTML resource data.

        Parameters:
        pageNumber - Number of the page.
        resource - HTML resource such as font, style, image or graphics.
        Returns:
        The stream used to write output HTML resource data.