Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
    
    PdfPageImageObject
    class PdfPageImageObject : 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 | 
        
        
          | 
            
             Constructor for the PdfPageImageObject. 
           | 
        
      
    
    
      
        
          | Public methods | 
        
        
          | Bitmap | 
          
            
             Returns the bitmap image of the object. 
           | 
        
        
          | Unit | 
          
            
             Sets the bitmap image of the object. 
           | 
        
      
    
    
    Public constructors
    
      PdfPageImageObject
      
      PdfPageImageObject(bitmap: Bitmap)
      Constructor for the PdfPageImageObject. Sets the object type to IMAGE.
      
        
          
            | Parameters | 
          
          
            bitmap | 
            Bitmap: This value cannot be null. | 
          
        
      
      
        
          
            | Exceptions | 
          
          
            java.lang.IllegalArgumentException | 
            if bitmap config is not ARGB_8888. | 
          
        
      
     
    Public methods
    
      getBitmap
      
      fun getBitmap(): Bitmap
      Returns the bitmap image of the object.
      
        
          
            | Return | 
          
          
            Bitmap | 
            The bitmap image of the object. This value cannot be null. | 
          
        
      
     
    
      setBitmap
      
      fun setBitmap(bitmap: Bitmap): Unit
      Sets the bitmap image of the object.
      
        
          
            | Parameters | 
          
          
            bitmap | 
            Bitmap: The bitmap image to set. This value cannot be null. | 
          
        
      
      
        
          
            | Exceptions | 
          
          
            java.lang.IllegalArgumentException | 
            if bitmap config is not ARGB_8888. | 
          
        
      
     
  
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-09-17 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-17 UTC."],[],[]]