|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.spatial.Viewport
public class Viewport
A ViewPort dictionary.
| Field Summary |
|---|
| Fields inherited from class com.itextpdf.text.pdf.PdfDictionary |
|---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
| Fields inherited from class com.itextpdf.text.pdf.PdfObject |
|---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
| Constructor Summary | |
|---|---|
Viewport()
Creates a ViewPort dictionary. |
|
| Method Summary | |
|---|---|
void |
setBBox(com.itextpdf.text.Rectangle bbox)
(Required) A rectangle in default user space coordinates specifying the location of the viewport on the page. The two coordinate pairs of the rectangle shall be specified in normalized form; that is, lower-left followed by upper-right, relative to the measuring coordinate system. |
void |
setMeasure(Measure measure)
A measure dictionary that specifies the scale and units that shall apply to measurements taken on the contents within the viewport. |
void |
setName(com.itextpdf.text.pdf.PdfString value)
(Optional) A descriptive text string or title of the viewport, intended for use in a user interface. |
void |
setPtData(PointData ptData)
PointData that shall specify the extended geospatial data that
applies to the image. |
| Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
|---|
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString |
| Methods inherited from class com.itextpdf.text.pdf.PdfObject |
|---|
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Viewport()
| Method Detail |
|---|
public void setBBox(com.itextpdf.text.Rectangle bbox)
bbox - public void setName(com.itextpdf.text.pdf.PdfString value)
value - public void setMeasure(Measure measure)
measure - public void setPtData(PointData ptData)
PointData that shall specify the extended geospatial data that
applies to the image.
ptData -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||