in Deutsh
in French
in Polish

You Are At Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

cpdf_begin_text

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

cpdf_begin_text -- Starts text section

Description

bool cpdf_begin_text ( int pdf_document )

Starts a text section.

The created text section must be ended with cpdf_end_text().

Parameters

pdf_document

The document handle, returned by cpdf_open().

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 1. Text output

<?php
cpdf_begin_text
($pdf);
cpdf_set_font($pdf, 16, "Helvetica", "WinAnsiEncoding");
cpdf_text($pdf, 100, 100, "Some text");
cpdf_end_text($pdf)
?>

See Also

cpdf_end_text()

klimatyzacje lg warszawa
uroda
Koszulki Smoke Story Koszulki Smoke Story
Kurs gotowania
Electro lista serwisów

Another Useful functions:


function.cpdf-translate | function.cpdf-text | function.cpdf-stroke | function.cpdf-stringwidth | function.cpdf-show | function.cpdf-show-xy | function.cpdf-setrgbcolor | function.cpdf-setrgbcolor-stroke | function.cpdf-setrgbcolor-fill | function.cpdf-setmiterlimit | function.cpdf-setlinewidth | function.cpdf-setlinejoin | function.cpdf-setlinecap | function.cpdf-setgray | function.cpdf-setgray-stroke | function.cpdf-setgray-fill | function.cpdf-setflat | function.cpdf-setdash | function.cpdf-set-word-spacing | function.cpdf-set-viewer-preferences | function.cpdf-set-title | function.cpdf-set-text-rise | function.cpdf-set-text-rendering | function.cpdf-set-text-pos | function.cpdf-set-text-matrix | function.cpdf-set-subject | function.cpdf-set-page-animation | function.cpdf-set-leading | function.cpdf-set-keywords | function.cpdf-set-horiz-scaling | function.cpdf-set-font | function.cpdf-set-font-map-file | function.cpdf-set-font-directories | function.cpdf-set-current-page | function.cpdf-set-creator | function.cpdf-set-char-spacing | function.cpdf-set-action-url | function.cpdf-scale | function.cpdf-save | function.cpdf-save-to-file | function.cpdf-rotate | function.cpdf-rotate-text | function.cpdf-rmoveto | function.cpdf-rlineto | function.cpdf-restore | function.cpdf-rect | function.cpdf-place-inline-image | function.cpdf-page-init | function.cpdf-output-buffer | function.cpdf-open | function.cpdf-newpath | function.cpdf-moveto | function.cpdf-lineto | function.cpdf-import-jpeg | function.cpdf-global-set-document-limits | function.cpdf-finalize | function.cpdf-finalize-page | function.cpdf-fill | function.cpdf-fill-stroke | function.cpdf-end-text | function.cpdf-curveto | function.cpdf-continue-text | function.cpdf-closepath | function.cpdf-closepath-stroke | function.cpdf-closepath-fill-stroke | function.cpdf-close | function.cpdf-clip | function.cpdf-circle | function.cpdf-begin-text | function.cpdf-arc | function.cpdf-add-outline | function.cpdf-add-annotation |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.