addBackgroundImage
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addBackgroundImage
 BASIC / ADVANCED / PREMIUM
BASIC / ADVANCED / PREMIUM
                Inserts a background image into the active slide.
                            
                            Description
                        
                    
                            public addBackgroundImage($image, $options = array())
                        
                    This method allows the insertion of a background image into the active slide.
                            
                            Parameters
                        
                    image
Image path, base64, stream or GdImage.
options
| Key | Type | Description | 
|---|---|---|
| overwrite | bool | If true overwrites existing background images. Default as true. | 
| tilePictureAsTexture | bool | Default as false. | 
| transparency | int | From 0 to 100. | 
                            
                            Exceptions
                        
                    Image doesn't exist.
                                
                                Release notes
                            
                        - phppptx 4.0:
                                    - removed PHP Warnings when images to be added do not exist.
 
- phppptx 3.0:
                                    - GdImage as image source.
 
- phppptx 1.0:
                                    - new method.
 
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum
                             
         
                                 
                                     
                                    