Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.measurement » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.measurement
public class: PDViewportDictionary [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.interactive.measurement.PDViewportDictionary

All Implemented Interfaces:
    COSObjectable

This class represents a viewport dictionary.
Field Summary
public static final  String TYPE    The type of this annotation. 
Constructor:
 public PDViewportDictionary() 
 public PDViewportDictionary(COSDictionary dictionary) 
    Constructor.
    Parameters:
    dictionary - the dictionary
Method from org.apache.pdfbox.pdmodel.interactive.measurement.PDViewportDictionary Summary:
getBBox,   getCOSObject,   getDictionary,   getMeasure,   getName,   getType,   setBBox,   setMeasure,   setName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.interactive.measurement.PDViewportDictionary Detail:
 public PDRectangle getBBox() 
    This will retrieve the rectangle specifying the location of the viewport.
 public COSBase getCOSObject() 
    {@inheritDoc}
 public COSDictionary getDictionary() 
    This will return the corresponding dictionary.
 public PDMeasureDictionary getMeasure() 
    This will retrieve the measure dictionary.
 public String getName() 
    This will retrieve the name of the viewport.
 public String getType() 
    Returns the type of the viewport dictionary. It must be "Viewport"
 public  void setBBox(PDRectangle rectangle) 
    This will set the rectangle specifying the location of the viewport.
 public  void setMeasure(PDMeasureDictionary measure) 
    This will set the measure dictionary.
 public  void setName(String name) 
    This will set the name of the viewport.