Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 23929 программистов и 1390 роботов. Сейчас ищут 1544 программиста ...

Worksheet::insertBitmap

Вернуться к: Spreadsheet_Excel_Writer

Worksheet::insertBitmap

Worksheet::insertBitmap – Insert a 24bit bitmap image in a worksheet. The main record required is

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::insertBitmap ( integer $row , integer $col , string $bitmap , integer $x=0 , integer $y=0 , integer $scale_x=1 , integer $scale_y=1 )

Insert a 24bit bitmap image in a worksheet. The main record required is IMDATA but it must be proceeded by a OBJ record to define its position.

Parameter

  • integer $row - The row we are going to insert the bitmap into

  • integer $col - The column we are going to insert the bitmap into

  • string $bitmap - The bitmap filename

  • integer $x - The horizontal position (offset) of the image inside the cell.

  • integer $y - The vertical position (offset) of the image inside the cell.

  • integer $scale_x - The horizontal scale

  • integer $scale_y - The vertical scale

Note

This function can not be called statically.

Example

Using insertBitmap()

<?php

?>


Вернуться к: Spreadsheet_Excel_Writer

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware