public class Viewport extends PdfDictionary
Constructor and Description |
---|
Viewport()
Creates a ViewPort dictionary.
|
Modifier and Type | Method and Description |
---|---|
void |
setBBox(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(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.
|
checkType, 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
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public void setBBox(Rectangle bbox)
bbox
-
public void setName(PdfString value)
value
-
public void setMeasure(Measure measure)
measure
-
Copyright © 1998–2024. All rights reserved.