BackgroundArtifact
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Artifact
public class BackgroundArtifact extends Artifact
Class descibes 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 |
setBackgroundColor(Color value) | Sets bacground color of background artifact |
getBackgroundImage() | Gets bacground image of background artifact |
getBackgroundImageInternal() | For internal usage only |
setBackgroundImage(InputStream value) | Sets bacground image of background artifact |
BackgroundArtifact()
public BackgroundArtifact()
Initializes BackgroundArtifact object.
getBackgroundColor()
public Color getBackgroundColor()
Gets bacground color of background artifact
Returns: Color - Color object
setBackgroundColor(Color value)
public void setBackgroundColor(Color value)
Sets bacground color of background artifact
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color | Color value |
getBackgroundImage()
public InputStream getBackgroundImage()
Gets bacground image of background artifact
Returns: java.io.InputStream - InputStream object
getBackgroundImageInternal()
public System.IO.Stream getBackgroundImageInternal()
For internal usage only
Returns: com.aspose.ms.System.IO.Stream - internal object
setBackgroundImage(InputStream value)
public void setBackgroundImage(InputStream value)
Sets bacground image of background artifact
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.io.InputStream | InputStream object |