BackgroundArtifact
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| BackgroundArtifact | Initializes BackgroundArtifact object. |
Methods
| Method | Description |
|---|---|
| getBackgroundColor | Gets bacground color of background artifact |
| getBackgroundImage | Gets bacground image of background artifact |
| getBackgroundImageInternal | For internal usage only |
| setBackgroundColor | Sets bacground color of background artifact |
| setBackgroundImage | Sets 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