Summary: Ctors | Methods | Inherited Methods
public
final
class
PdfPageImageObject
extends PdfPageObject
Represents an image object on a PDF page. This class extends
PdfPageObject and provides methods to access and modify the
image content.
Summary
Public constructors | |
|---|---|
PdfPageImageObject(Bitmap bitmap)
Constructor for the PdfPageImageObject. |
|
Public methods | |
|---|---|
Bitmap
|
getBitmap()
Returns the bitmap image of the object. |
void
|
setBitmap(Bitmap bitmap)
Sets the bitmap image of the object. |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
|
From class
| |||||||||||||||||||||||
Public constructors
PdfPageImageObject
public PdfPageImageObject (Bitmap bitmap)
Constructor for the PdfPageImageObject. Sets the object type to IMAGE.
| Parameters | |
|---|---|
bitmap |
Bitmap: This value cannot be null. |
| Throws | |
|---|---|
IllegalArgumentException |
if bitmap config is not ARGB_8888. |
Public methods
getBitmap
public Bitmap getBitmap ()
Returns the bitmap image of the object.
| Returns | |
|---|---|
Bitmap |
The bitmap image of the object.
This value cannot be null. |
setBitmap
public void setBitmap (Bitmap bitmap)
Sets the bitmap image of the object.
| Parameters | |
|---|---|
bitmap |
Bitmap: The bitmap image to set.
This value cannot be null. |
| Throws | |
|---|---|
IllegalArgumentException |
if bitmap config is not ARGB_8888. |