


The mediabox/cropbox/etc of this page are not altered. Merges the content streams of two pages into one. mediaBox ¶Ī rectangle ( RectangleObject), expressed in default user space units, defining the boundaries of the physical medium on which the page is intended to be displayed or printed. Do not rely on the order of text coming out of this function, as it will change if this function is made more sophisticated. This works well for some PDF files, but poorly for others, depending on the generator used. Locate all text drawing commands, in the order they are provided in the content stream, and extract the text. When the page is displayed or printed, its contents are to be clipped (cropped) to this rectangle and then imposed on the output medium in some implementation-defined manner. cropBox ¶Ī rectangle ( RectangleObject), expressed in default user space units, defining the visible region of default user space. compressContentStreams ( ) ¶Ĭompresses the size of this page by joining all content streams and applying a FlateDecode filter. bleedBox ¶Ī rectangle ( RectangleObject), expressed in default user space units, defining the region to which the contents of the page should be clipped when output in a production enviroment. artBox ¶Ī rectangle ( RectangleObject), expressed in default user space units, defining the extent of the page’s meaningful content as intended by the page’s creator. Typically this object will be created by accessing the PdfFileReader.getPage() function of the PdfFileReader class. This class represents a single page within a PDF file.
