Warning: file_put_contents(): Only -1 of 63 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
cpdf_place_inline_image Podręcznik PHP Poprzedni Następny (PHP 3 >= 3.0.9, 4, 5 <= 5.0.4) cpdf_place_inline_image -- Places an image on the page Opis bool ( int pdf_document, ima...
Forum und email
cpdf_place_inline_image

cpdf_place_inline_image

(PHP 3 >= 3.0.9, PHP 4, PHP 5 <= 5.0.4)

cpdf_place_inline_image -- Places an image on the page

Opis

bool cpdf_place_inline_image ( int pdf_document, int image, float x_coor, float y_coor, float angle, float width, float height, int gsave [, int mode] )

Places an image created with the PHP image functions on the page. The image can be scaled at the same time.

Notatka: This function is only available if PHP was compiled with the GD Graphics Library 1.3. See the GD extension installation instructions for further information.

Parametry

pdf_document

Uchwyt dokumentu, zwrócony przez cpdf_open().

image

An image created with the PHP image functions

x_coor

The x-coordinate of the image

y_coor

The y-coordinate of the image

angle

The image rotation angle, in degrees

width

The image width

height

The image height

gsave

Should be non-zero to allow this function to operate correctly

mode

Opcjonalny parametr tryb określa jednostkę długości. Jeśli jest 0 lub pominięto go, użyta jest domyślna jednostka określona dla strony. W przeciwnym wypadku współrzędne są mierzone w punktach postscriptowych ignorując obecne jednostki.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.

Patrz także

cpdf_import_jpeg()