1PDF::API2::Basic::PDF::UPsaegre(C3o)ntributed Perl DocumPeDnFt:a:tAiPoIn2::Basic::PDF::Page(3)
2
3
4
6 PDF::API2::Basic::PDF::Page - Represents a PDF page, inherits from
7 PDF::API2::Basic::PDF::Pages
8
10 Represents a page of output in PDF. It also keeps track of the content
11 stream, any resources (such as fonts) being switched, etc.
12
13 Page inherits from Pages due to a number of shared methods. They are
14 really structurally quite different.
15
17 A page has various working variables:
18
19 curstrm
20 The currently open stream
21
23 PDF::API2::Basic::PDF::Page->new($pdf, $parent, $index)
24 Creates a new page based on a pages object (perhaps the root object).
25
26 The page is also added to the parent at this point, so pages are
27 ordered in a PDF document in the order in which they are created rather
28 than in the order they are closed.
29
30 Only the essential elements in the page dictionary are created here,
31 all others are either optional or can be inherited.
32
33 The optional index value indicates the index in the parent list that
34 this page should be inserted (so that new pages need not be appended)
35
36 $p->ship_out($pdf)
37 Ships the page out to the given output file context
38
39
40
41perl v5.30.0 2019-09-18 PDF::API2::Basic::PDF::Page(3)