Properties

$_name

$_name : string

Name

Type

string

$_description

$_description : string

Description

Type

string

$_coordinates

$_coordinates : string

Coordinates

Type

string

$_offsetX

$_offsetX : int

Offset X

Type

int

$_offsetY

$_offsetY : int

Offset Y

Type

int

$_width

$_width : int

Width

Type

int

$_height

$_height : int

Height

Type

int

$_resizeProportional

$_resizeProportional : bool

Proportional resize

Type

bool

$_rotation

$_rotation : int

Rotation

Type

int

$_imageCounter

$_imageCounter : int

Image counter

Type

int

$_imageIndex

$_imageIndex : int

Image index

Type

int

$_path

$_path : string

Path

Type

string

Methods

__construct()

__construct() : mixed

Create a new PHPExcel_Worksheet_Drawing

Returns

mixed —

getImageIndex()

getImageIndex() : int

Get image index

Returns

int —

getName()

getName() : string

Get Name

Returns

string —

setName()

setName(string  $pValue = '') : \PHPExcel_Worksheet_BaseDrawing

Set Name

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getDescription()

getDescription() : string

Get Description

Returns

string —

setDescription()

setDescription(string  $pValue = '') : \PHPExcel_Worksheet_BaseDrawing

Set Description

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getWorksheet()

getWorksheet() : \PHPExcel_Worksheet

Get Worksheet

Returns

\PHPExcel_Worksheet —

setWorksheet()

setWorksheet(\PHPExcel_Worksheet  $pValue = null, bool  $pOverrideOld = false) : \PHPExcel_Worksheet_BaseDrawing

Set Worksheet

Parameters

\PHPExcel_Worksheet $pValue
bool $pOverrideOld

If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_BaseDrawing —

getCoordinates()

getCoordinates() : string

Get Coordinates

Returns

string —

setCoordinates()

setCoordinates(string  $pValue = 'A1') : \PHPExcel_Worksheet_BaseDrawing

Set Coordinates

Parameters

string $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getOffsetX()

getOffsetX() : int

Get OffsetX

Returns

int —

setOffsetX()

setOffsetX(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set OffsetX

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getOffsetY()

getOffsetY() : int

Get OffsetY

Returns

int —

setOffsetY()

setOffsetY(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set OffsetY

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getWidth()

getWidth() : int

Get Width

Returns

int —

setWidth()

setWidth(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set Width

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getHeight()

getHeight() : int

Get Height

Returns

int —

setHeight()

setHeight(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set Height

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

setWidthAndHeight()

setWidthAndHeight(int  $width, int  $height) : \PHPExcel_Worksheet_BaseDrawing

Set width and height with proportional resize Example: <code> $objDrawing->setResizeProportional(true); $objDrawing->setWidthAndHeight(160,120); </code>

Parameters

int $width
int $height

Returns

\PHPExcel_Worksheet_BaseDrawing —

getResizeProportional()

getResizeProportional() : bool

Get ResizeProportional

Returns

bool —

setResizeProportional()

setResizeProportional(bool  $pValue = true) : \PHPExcel_Worksheet_BaseDrawing

Set ResizeProportional

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getRotation()

getRotation() : int

Get Rotation

Returns

int —

setRotation()

setRotation(int  $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set Rotation

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_BaseDrawing —

getShadow()

getShadow() : \PHPExcel_Worksheet_Drawing_Shadow

Get Shadow

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

setShadow()

setShadow(\PHPExcel_Worksheet_Drawing_Shadow  $pValue = null) : \PHPExcel_Worksheet_BaseDrawing

Set Shadow

Parameters

\PHPExcel_Worksheet_Drawing_Shadow $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_BaseDrawing —

getHashCode()

getHashCode() : string

Get hash code

Returns

string —

Hash code

__clone()

__clone() : mixed

Implement PHP __clone to create a deep clone, not just a shallow copy.

Returns

mixed —

getFilename()

getFilename() : string

Get Filename

Returns

string —

getIndexedFilename()

getIndexedFilename() : string

Get indexed filename (using image index)

Returns

string —

getExtension()

getExtension() : string

Get Extension

Returns

string —

getPath()

getPath() : string

Get Path

Returns

string —

setPath()

setPath(string  $pValue = '', bool  $pVerifyFile = true) : \PHPExcel_Worksheet_Drawing

Set Path

Parameters

string $pValue

File path

bool $pVerifyFile

Verify file

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_Drawing —