PHPExcel_Worksheet_BaseDrawing

category PHPExcel
package PHPExcel_Worksheet
copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

 Methods

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

__clone() 

Create a new PHPExcel_Worksheet_BaseDrawing

__construct() 

Get Coordinates

getCoordinates() : string

Returns

string

Get Description

getDescription() : string

Returns

string

Get hash code

getHashCode() : string

Returns

stringHash code

Get Height

getHeight() : int

Returns

int

Get image index

getImageIndex() : int

Returns

int

Get Name

getName() : string

Returns

string

Get OffsetX

getOffsetX() : int

Returns

int

Get OffsetY

getOffsetY() : int

Returns

int

Get ResizeProportional

getResizeProportional() : boolean

Returns

boolean

Get Rotation

getRotation() : int

Returns

int

Get Width

getWidth() : int

Returns

int

Get Worksheet

getWorksheet() : \PHPExcel_Worksheet

Set Coordinates

setCoordinates(string $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

string

Returns

Set Description

setDescription(string $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

string

Returns

Set Height

setHeight(int $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

int

Returns

Set Name

setName(string $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

string

Returns

Set OffsetX

setOffsetX(int $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

int

Returns

Set OffsetY

setOffsetY(int $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

int

Returns

Set ResizeProportional

setResizeProportional(boolean $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

boolean

Returns

Set Rotation

setRotation(int $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

int

Returns

Set Shadow

setShadow(\PHPExcel_Worksheet_Drawing_Shadow $pValue) : \PHPExcel_Worksheet_BaseDrawing

Set Width

setWidth(int $pValue) : \PHPExcel_Worksheet_BaseDrawing

Parameters

$pValue

int

Returns

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

setWidthAndHeight(int $width, int $height) : \PHPExcel_Worksheet_BaseDrawing
author Vincent@luo MSN:[email protected]

Parameters

$width

int

$height

int

Returns

Set Worksheet

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

Parameters

$pOverrideOld

bool

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

Exceptions

\PHPExcel_Exception

Returns

 Properties

 

$_coordinates : string
 

$_description : string
 

$_height : int
 

$_name : string
 

$_offsetX : int
 

$_offsetY : int
 

$_resizeProportional : boolean
 

$_rotation : int
   

$_width : int
 

$_worksheet : \PHPExcel_Worksheet
 

$_imageCounter : int
 

$_imageIndex : int