Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 22901 программист и 1246 роботов. Сейчас ищут 729 программистов ...
Приступая к работе

HaruDoc::setPagesConfiguration - Set the number of pages per set of pages

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

HaruDoc::setPagesConfiguration

(PECL haru >= 0.0.1)

HaruDoc::setPagesConfigurationSet the number of pages per set of pages

Описание

bool HaruDoc::setPagesConfiguration ( int $page_per_pages )

By default the document has one pages object as a root for all pages. All page objects are create as branches of this object. One pages object can contain only 8191, therefore the maximum number of pages per document is 8191. But you can change that fact by setting page_per_pages parameter, so that the root pages object contains 8191 more pages (not page) objects, which in turn contain 8191 pages each. So the maximum number of pages in the document becomes 8191*page_per_pages.

Список параметров

page_per_pages

The numbers of pages that a pages object can contain.

Возвращаемые значения

Returns TRUE on success.

Ошибки

Вызывает исключение HaruException при ошибке.



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

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