PHP Class PhpOffice\PhpPresentation\Slide\Background\Image

Inheritance: extends PhpOffice\PhpPresentation\Slide\AbstractBackground
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Properties

Property Type Description
$relationId string

Protected Properties

Property Type Description
$height integer
$path string Path
$width integer

Public Methods

Method Description
getExtension ( ) : string Get Extension
getFilename ( ) : string Get Filename
getIndexedFilename ( $numSlide ) : string Get indexed filename (using image index)
getPath ( ) : string Get Path
setPath ( string $pValue = '', boolean $pVerifyFile = true ) : PhpOffice\PhpPresentation\Shape\Drawing Set Path

Method Details

getExtension() public method

Get Extension
public getExtension ( ) : string
return string

getFilename() public method

Get Filename
public getFilename ( ) : string
return string

getIndexedFilename() public method

Get indexed filename (using image index)
public getIndexedFilename ( $numSlide ) : string
return string

getPath() public method

Get Path
public getPath ( ) : string
return string

setPath() public method

Set Path
public setPath ( string $pValue = '', boolean $pVerifyFile = true ) : PhpOffice\PhpPresentation\Shape\Drawing
$pValue string File path
$pVerifyFile boolean Verify file
return PhpOffice\PhpPresentation\Shape\Drawing

Property Details

$height protected property

protected int $height
return integer

$path protected property

Path
protected string $path
return string

$relationId public property

public string $relationId
return string

$width protected property

protected int $width
return integer