Page

Ancestor type: CObject

This type of object represents one page in document.

Move specified content stream in this page one level up in painting order.
Move specified content stream in this page one level down in painting order.
Move content stream with specified index in this page one level up in painting order.
Move content stream with specified index in this page one level down in painting order.
Add copy of given annotation to this page
Set transform matrix of this page. Expects array with 6 real numbers as the matrix.
Add new content stream to page, created from provided stack of PDF operators. They must form a valid content stream Content stream is prepended before other content streams
Add new content stream to page, created from provided stack of PDF operators. They must form a valid content stream Content stream in appended after other content streams
For given font name (case sensitive) return it's ID if present on page. If the font is not present, returns NULL
Return list of all font id's and base names from resource dictionary of a page. For each font id and name pair there are two consecutive elements in returned array, first one containing font id and second one containing the name, so number of elements in output array is always even. If parametr onlyNames is true, id's are ommited and only list of names is returned instead.
Add new Type 1 font to this page resource dictionary with specified font name It is supposed that you insert standard system font name that should be avaiable to all PDF viewers.
Returns content stream with given number from this page Use data fetched by loadContentStreams method, if it wasn't called, it is called before returning the stream
Removes content stream with given number from page.
Returns number of content streams in this page Use data fetched by loadContentStreams method, if it wasn't called, it is called before returning the count
Return change with given number as content stream
Return number of changes
Get all content streams from page and store them. Get the streams with getContentStreamCount and getContentStream functions. Usually it is not necessary to call this method, as these funtions will call it automatically on first need, but you may call it explicitly to reload the streams stored in this object from the page
Returns page dictionary
Return text representation of this page
Return media box of this page as array (x1,y1,x2,y2). The mediabox is a rectangle from (x1,y1) to (x2,y2)
Set media box of this page to given rectangle - from (x1,y1) to (x2,y2)
Set media box of this page to given rectangle