1PDF::API2::Basic::PDF::UPsaegre(C3o)ntributed Perl DocumPeDnFt:a:tAiPoIn2::Basic::PDF::Page(3)
2
3
4

NAME

6       PDF::API2::Basic::PDF::Page - Low-level PDF page object
7

DESCRIPTION

9       Represents a page of output in PDF. It also keeps track of the content
10       stream, any resources (such as fonts) being switched, etc.
11
12       Page inherits from Pages due to a number of shared methods. They are
13       really structurally quite different.
14

INSTANCE VARIABLES

16       A page has various working variables:
17
18       curstrm
19           The currently open stream
20

METHODS

22   PDF::API2::Basic::PDF::Page->new($pdf, $parent, $index)
23       Creates a new page based on a pages object (perhaps the root object).
24
25       The page is also added to the parent at this point, so pages are
26       ordered in a PDF document in the order in which they are created rather
27       than in the order they are closed.
28
29       Only the essential elements in the page dictionary are created here,
30       all others are either optional or can be inherited.
31
32       The optional index value indicates the index in the parent list that
33       this page should be inserted (so that new pages need not be appended)
34
35   $p->ship_out($pdf)
36       Ships the page out to the given output file context
37
38
39
40perl v5.36.0                      2023-01-20    PDF::API2::Basic::PDF::Page(3)
Impressum