$name
$name : string
Name
PHPExcel_Worksheet_BaseDrawing
Copyright (c) 2006 - 2015 PHPExcel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
$name : string
Name
$description : string
Description
$worksheet : \PHPExcel_Worksheet
Worksheet
$coordinates : string
Coordinates
$offsetX : int
Offset X
$offsetY : int
Offset Y
$width : int
Width
$height : int
Height
$resizeProportional : bool
Proportional resize
$rotation : int
Rotation
$shadow : \PHPExcel_Worksheet_Drawing_Shadow
Shadow
$imageCounter : int
Image counter
$imageIndex : int
Image index
setWorksheet(\PHPExcel_Worksheet $pValue = null, bool $pOverrideOld = false) : \PHPExcel_Worksheet_BaseDrawing
Set Worksheet
| \PHPExcel_Worksheet | $pValue | |
| bool | $pOverrideOld | If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet? |
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>
| int | $width | |
| int | $height |