PHP 7.1.18 Released


(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_open_pdiباز کردن فایل PDF [از رده خارج]


int PDF_open_pdi ( resource $pdfdoc , string $filename , string $optlist , int $len )

باز کردن سند مجازی یا مبتنی بر دیسک PDF آماده‌سازی آن برای استفاده بعدی.

این تابع از زمان PDFlib نسخه 7 از رده خارج شده است از use PDF_open_pdi_document() استفاده کنید.

add a note add a note

User Contributed Notes 2 notes

12 years ago
From PDFLib's manual:

"When the optional PDI (PDF import) library is attached to PDFlib, pages from existing PDF documents can be imported. PDI contains a parser for the PDF file format, and prepares pages from existing PDF documents for easy use with PDFlib.

Conceptually, imported PDF pages are treated similarly to imported raster images such as TIFF or PNG: you open a PDF document, choose a page to import, and place it on an output page, applying any of PDFlib’s transformation functions for translating, scaling, rotating, or skewing the imported page."

The manual can be downloaded along with PDFLib at
m_schieferdecker at hotmail dot com
14 years ago
The function returns the intval -1 on failure.
To Top