BackgroundArtifact

Inheritance: java.lang.Object, com.aspose.pdf.Artifact com.aspose.pdf.BackgroundArtifact, com.aspose.pdf.Artifact, com.aspose.pdf.BackgroundArtifact

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

public class BackgroundArtifact extends Artifact

Class describes background artifact. This artifact allows to set background of the page.

Constructors

ConstructorDescription
BackgroundArtifactInitializes BackgroundArtifact object.

Methods

MethodDescription
getBackgroundColorGets bacground color of background artifact
getBackgroundImageGets bacground image of background artifact
getBackgroundImageInternalFor internal usage only
setBackgroundColorSets bacground color of background artifact
setBackgroundImageSets bacground image of background artifact

BackgroundArtifact

public BackgroundArtifact()

Initializes BackgroundArtifact object.

getBackgroundColor

public Color getBackgroundColor()

Gets bacground color of background artifact

Returns: Color object

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

setBackgroundColor

Sets bacground color of background artifact

setBackgroundImage

Sets bacground image of background artifact