com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class BackgroundArtifact

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class BackgroundArtifact
    extends Artifact
    Class descibes background artifact. This artifact allows to set background of the page.
    • Constructor Detail

      • BackgroundArtifact

        public BackgroundArtifact()

        Initializes BackgroundArtifact object.

    • Method Detail

      • getBackgroundColor

        public Color getBackgroundColor()

        Gets bacground color of background artifact

        Returns:
        Color object
      • setBackgroundColor

        public void setBackgroundColor(Color value)

        Sets bacground color of background artifact

        Parameters:
        value - Color value
      • getBackgroundImage

        public InputStream getBackgroundImage()

        Gets bacground image of background artifact

        Returns:
        InputStream object
      • getBackgroundImageInternal

        public com.aspose.ms.System.IO.Stream getBackgroundImageInternal()

        For internal usage only

        Returns:
        internal object
      • setBackgroundImage

        public void setBackgroundImage(InputStream value)

        Sets bacground image of background artifact

        Parameters:
        value - InputStream object