PHPExcel_Worksheet_MemoryDrawing

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_MemoryDrawing

__construct() 

Get Coordinates

getCoordinates() : string
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getCoordinates()

Returns

string

Get Description

getDescription() : string
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getDescription()

Returns

string

Get hash code

getHashCode() : string

Returns

stringHash code

Get Height

getHeight() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getHeight()

Returns

int

Get image index

getImageIndex() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getImageIndex()

Returns

int

Get image resource

getImageResource() : resource

Returns

resource

Get indexed filename (using image index)

getIndexedFilename() : string

Returns

string

Get mime type

getMimeType() : string

Returns

string

Get Name

getName() : string
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getName()

Returns

string

Get OffsetX

getOffsetX() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getOffsetX()

Returns

int

Get OffsetY

getOffsetY() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getOffsetY()

Returns

int

Get rendering function

getRenderingFunction() : string

Returns

string

Get ResizeProportional

getResizeProportional() : boolean
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getResizeProportional()

Returns

boolean

Get Rotation

getRotation() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getRotation()

Returns

int

Get Shadow

getShadow() : \PHPExcel_Worksheet_Drawing_Shadow
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getShadow()

Returns

Get Width

getWidth() : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getWidth()

Returns

int

Get Worksheet

getWorksheet() : \PHPExcel_Worksheet
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::getWorksheet()

Returns

Set Coordinates

setCoordinates(string $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setCoordinates()

Parameters

$pValue

string

Returns

Set Description

setDescription(string $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setDescription()

Parameters

$pValue

string

Returns

Set Height

setHeight(int $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setHeight()

Parameters

$pValue

int

Returns

Set image resource

setImageResource($value) : \PHPExcel_Worksheet_MemoryDrawing

Parameters

$value

resource

Returns

Set mime type

setMimeType(string $value) : \PHPExcel_Worksheet_MemoryDrawing

Parameters

$value

string

Returns

Set Name

setName(string $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setName()

Parameters

$pValue

string

Returns

Set OffsetX

setOffsetX(int $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setOffsetX()

Parameters

$pValue

int

Returns

Set OffsetY

setOffsetY(int $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setOffsetY()

Parameters

$pValue

int

Returns

Set rendering function

setRenderingFunction(string $value) : \PHPExcel_Worksheet_MemoryDrawing

Parameters

$value

string

Returns

Set ResizeProportional

setResizeProportional(boolean $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setResizeProportional()

Parameters

$pValue

boolean

Returns

Set Rotation

setRotation(int $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setRotation()

Parameters

$pValue

int

Returns

Set Shadow

setShadow(\PHPExcel_Worksheet_Drawing_Shadow $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setShadow()

Parameters

Exceptions

\PHPExcel_Exception

Returns

Set Width

setWidth(int $pValue) : \PHPExcel_Worksheet_BaseDrawing
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::setWidth()

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
Inherited
author Vincent@luo MSN:kele_100@hotmail.com
inherited_from \PHPExcel_Worksheet_BaseDrawing::setWidthAndHeight()

Parameters

$width

int

$height

int

Returns

Set Worksheet

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

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
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_coordinates
 

$_description : string
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_description
 

$_height : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_height
 

$_name : string
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_name
 

$_offsetX : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_offsetX
 

$_offsetY : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_offsetY
 

$_resizeProportional : boolean
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_resizeProportional
 

$_rotation : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_rotation
 

$_shadow : \PHPExcel_Worksheet_Drawing_Shadow
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_shadow
 

$_width : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_width
 

$_worksheet : \PHPExcel_Worksheet
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_worksheet
 

$_imageCounter : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_imageCounter
 

$_imageIndex : int
Inherited
inherited_from \PHPExcel_Worksheet_BaseDrawing::$$_imageIndex
 

$_imageResource : resource
 

$_mimeType : string
 

$_renderingFunction : string
 

$_uniqueName : string

 Constants

 

MIMETYPE_DEFAULT

MIMETYPE_DEFAULT 
 

MIMETYPE_GIF

MIMETYPE_GIF 
 

MIMETYPE_JPEG

MIMETYPE_JPEG 
 

MIMETYPE_PNG

MIMETYPE_PNG 
 

RENDERING_DEFAULT

RENDERING_DEFAULT 
 

RENDERING_GIF

RENDERING_GIF 
 

RENDERING_JPEG

RENDERING_JPEG 
 

RENDERING_PNG

RENDERING_PNG