DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger
Class PdfPage

java.lang.Object
  extended by com.cete.dynamicpdf.merger.PdfPage

public class PdfPage
extends java.lang.Object

Represents a page from an imported PDF document.

Licensing:
This class is a DynamicPDF Merger Standard Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 byte[] getContents()
          Returns the uncompressed binary contents of the page.
 java.lang.String getDictionaryValue(java.lang.String key)
          Returns the value of a given page dictionary key.
 PageDimensions getDimensions()
          Gets the page dimensions of the page.
 int getRotate()
          Gets the rotation value of the page.
 java.lang.String getText()
          Gets the text in the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDictionaryValue

public java.lang.String getDictionaryValue(java.lang.String key)
Returns the value of a given page dictionary key.

Parameters:
key - The dictionaries key.
Returns:
The dictionary key's value as a string.

getContents

public byte[] getContents()
Returns the uncompressed binary contents of the page.

Returns:
A byte array containing the pages contents.

getRotate

public int getRotate()
Gets the rotation value of the page.

Returns:
the rotation value of the page.

getDimensions

public PageDimensions getDimensions()
Gets the page dimensions of the page.

Returns:
A PageDimensions object.
See Also:
PageDimensions

getText

public java.lang.String getText()
Gets the text in the page.

Returns:
the text in the page. A string containing the text in the page. This method can be used to extract the text in the same order the pdf operators are loaded

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software