Packages

 

com.aspose.imaging.fileformats.svg

Interface ISvgResourceKeeperCallback

  • All Known Implementing Classes:
    SvgResourceKeeperCallback


    public interface ISvgResourceKeeperCallback

    The svg callback interface

    • Method Detail

      • onImageResourceReady

        String onImageResourceReady(byte[] imageData,
                                    int imageType,
                                    String suggestedFileName,
                                    boolean[] useEmbeddedImage)

        Called when image resource ready.

        Parameters:
        imageData - The resource data.
        imageType - Type of the image.
        suggestedFileName - Name of the suggested file.
        useEmbeddedImage - if set to true the embedded image must be used.
        Returns:
        Returns path to saved resource. Path should be relative to target SVG document.
      • onFontResourceReady

        void onFontResourceReady(FontStoringArgs args)

        Called when [font resource ready].

        Parameters:
        args - The arguments.
      • onSvgDocumentReady

        String onSvgDocumentReady(byte[] htmlData,
                                  String suggestedFileName)

        Called when SVG document ready.

        Parameters:
        htmlData - The SVG data.
        suggestedFileName - Name of the suggested file.
        Returns:
        Returns path to saved svg document.