����������
WEB - ������

www.spravkaweb.ru Rambler's Top100
 ï¿½ï¿½ ����������: �������/PHP/PDF-���������.������ � �������Ðàñïå÷àòàòü 
�������
�������
����� ���
HTML
JavaScript
VBScript
CSS
Flash
Perl
PHP
MySQL
SSI
VRML
�������������
������
Download
�����
��������
������
�������� ���
�����:
��������
Subscribe.Ru:

PHP

<--����� | ��������� � ������ | ������-->
PDF-���������
������ � �������
pdf_show
����� ������ � ������� �������.

��������� :
void pdf_show(int pdf_document, string text)

��� ������ ������������ ������� ������� � ������� �����.

pdf_show_boxed
����� ������ � ������������� �������.

��������� :
void pdf_show_boxed(int pdf_document, string text, double x, double y, double width, double height, string mode [, string feature])

����� ������ ���� ������� ������ �������� (x:y); ������ � ������ - height,width. �������� mode ���������� ������������ ������: ���� ������ � ������ ����� ����, �� �������� ��������:
  • left
  • right
  • center,
    ���� ��� �� ����� ����, ��
  • justify
  • fulljustify

    ���� �������� feature �������� �������� "blind", ����� �� ������������.

    ������� ���������� ����� ��������, ������� �� ����������� � ��������� �������������.

  • pdf_show_xy
    ����� ������ � ��������� �������.

    ��������� :
    void pdf_show_xy(int pdf_document, string text, double x, double y)

    pdf_set_font
    ����� ������, ��� ������� � ���������.

    ��������� :
    void pdf_set_font(int pdf_document, string font_name, double size, string encoding [, int embed])

    �������� ���� ��������� encoding ����� ��������� ��������:
  • winansi (�� ���������)
  • builtin
  • host
  • macroman � �.�.

    ���� ��� ���������� ��������� ������ �������� 1, ����� ����� ������� � �������� pdf (����� ���). ���� ����� �������������, �������� ��� �� ������� ��-�� ���������� ������� ���������.

    ������� ������ ���������� ����� pdf_begin_page().

  • pdf_set_leading
    ��������� ���������� ����� �������� ������.

    ��������� :
    void pdf_set_leading(int pdf_document, double distance)

    ������������ ��� ������ ������ �������� pdf_continue_text().

    pdf_set_parameter
    ��������� ���������� �������� ��������� pdflib.

    ��������� :
    void pdf_set_parameter(int pdf_document, string name, string value)

    pdf_get_parameter
    ��������� ���������� �������� ��������� pdflib.

    ��������� :
    void pdf_get_parameter(int pdf_document, string name [, double modifier])

    �������� modifier ������������ ��� �������������.

    pdf_set_value
    ��������� ���������� �������� ��������� pdflib.

    ��������� :
    void pdf_set_value(int pdf_document, string name, double value)

    pdf_get_value
    ��������� ���������� �������� ��������� pdflib.

    ��������� :
    void pdf_get_value(int pdf_document, string name [, double modifier])

    �������� modifier ������������ ��� �������������.

    pdf_set_text_rendering
    ��������� ������ ������ ������.

    ��������� :
    void pdf_set_text_rendering(int pdf_document, string mode)

    ��������, ����������� pdf_set_value().

    pdf_set_horiz_scaling
    ��������� ��������������� ������ �� �����������.

    ��������� :
    void pdf_set_horiz_scaling(int pdf_document, double scale)

    pdf_set_text_rise
    ��������� ������� ������.

    ��������� :
    void pdf_set_text_rise(int pdf_document, double rise)

    pdf_set_text_matrix
    ��������� ������� �������������� ������.

    ��������� :
    void pdf_set_text_matrix(int pdf_document, array matrix)

    ������� � ������ pdflib 2.3 ��� ������� ����������.

    pdf_set_text_pos
    ��������� ������� ������.

    ��������� :
    void pdf_set_text_pos(int pdf_document, double x-coor, double y-coor)

    ������������� ������� ������ ������ ����������� ������� pdf_show().

    pdf_set_char_spacing
    ��������� ��������� ����� ���������.

    ��������� :
    void pdf_set_char_spacing(int pdf_document, double space)

    ��������, ����������� pdf_set_value().

    pdf_set_word_spacing
    ��������� ��������� ����� ���������.

    ��������� :
    void pdf_set_word_spacing(int pdf_document, double space)

    ��������, ����������� pdf_set_value().

    pdf_skew
    ������� ������� ���������.

    ��������� :
    void pdf_skew(int pdf_document, double alpha, double beta)

    ���� �������� � �������� ����������� ������������ ���� alpha (x) � beta (y). ���� �� ����� ��������� �������� 90 ��� 270 ��������.

    pdf_continue_text
    ����� ������ �� ��������� ������.

    ��������� :
    void pdf_continue_text(int pdf_document, string text)

    ���������� ����� �������� ����� ���� ����������� �������� pdf_set_leading().

    pdf_stringwidth
    ���������� ������ ������.

    ��������� :
    void pdf_stringwidth(int pdf_document, string text)

    ��� ���������� ����� ������ ������������ ������� �����. �������������� ����� ������ ���� ���������� � ������� pdf_set_font().

    pdf_save
    ���������� ������� ���������.

    ��������� :
    void pdf_save(int pdf_document)

    ��������� ������� ������� postscript gsave. ������� ��� ������������� �������������� ��� ���������� ������, �� ����������� �� ������ �������. pdf_save() �������, ����� ����� ���� ������� ������� pdf_restore().

    pdf_restore
    �������������� ����� ����������� ���������.

    ��������� :
    void pdf_restore(int pdf_document)

    ��������������� ���������, ����������� pdf_save(). ��������� ������� ������� postscript grestore.
    <?php
    pdf_save($pdf);
    // ������ �������� � ������������� ...
    pdf_restore($pdf);
    ?>
    
    �� ���������� ����� ����� ������� "PHP 4. ����������� ����������."
    www.piter.com
    ������ / � ����������
     
    Download
    Ñêà÷àòü ñïðàâî÷íèê ïî PHP
    ��� ������:
    05.07.2004
  • � ������� PHP ��������� ��������� ������� ��� ������ � ���������� (���������� GD):
    imagetypes(), ...
  • � ������� JavaScript ��������� �������� �� ����� D, E, F, H, I
  • � ������� ������ ��������� ������, �������������� ��� �������� � html-�������� ��������� MS Office (Word, Excel � �.�.)
  • �����������:
    ��� ��� ������ ����� �� �������� � �����������:
    ��� ��������.
    ������ �� ��������.
    ���� ��������.
    �������� �������� �������.
    �� ��� ������� �������.
    � ����������� ���� ������.
    � ��� ��� �����.
    ������.
    ��������:
    Rambler's Top100
    Ñäåëàòü ñòðàíèöó ñòàðòîâîé ������� �������� ���������
    Äîáàâèòü ñòðàíèöó â èçáðàííîå �������� ���� � ���������
    Ñîîáùèòü îá íàéäåííîé îøèáêå �������� �� ������