com.itextpdf.text.pdf.richmedia
Class RichMediaWindow
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.richmedia.RichMediaWindow
public class RichMediaWindow
- extends PdfDictionary
The RichMediaWindow dictionary stores the dimensions and position of the
floating window presented to the user. It is used only if Style is set
to Windowed.
See ExtensionLevel 3 p84
- Since:
- 5.0.0
- See Also:
RichMediaPresentation
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 |
RichMediaWindow()
Creates a RichMediaWindow dictionary. |
Method Summary |
void |
setHeight(float defaultHeight,
float maxHeight,
float minHeight)
Sets a dictionary with keys Default, Max, and Min describing values for
the height of the Window in default user space units. |
void |
setPosition(RichMediaPosition position)
Sets a RichMediaPosition dictionary describing the position of the RichMediaWindow. |
void |
setWidth(float defaultWidth,
float maxWidth,
float minWidth)
Sets a dictionary with keys Default, Max, and Min describing values for
the width of the Window in default user space units. |
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
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 |
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 |
RichMediaWindow
public RichMediaWindow()
- Creates a RichMediaWindow dictionary.
setWidth
public void setWidth(float defaultWidth,
float maxWidth,
float minWidth)
- Sets a dictionary with keys Default, Max, and Min describing values for
the width of the Window in default user space units.
- Parameters:
defaultWidth
- the default widthmaxWidth
- the maximum widthminWidth
- the minimum width
setHeight
public void setHeight(float defaultHeight,
float maxHeight,
float minHeight)
- Sets a dictionary with keys Default, Max, and Min describing values for
the height of the Window in default user space units.
- Parameters:
defaultHeight
- the default heightmaxHeight
- the maximum heightminHeight
- the minimum height
setPosition
public void setPosition(RichMediaPosition position)
- Sets a RichMediaPosition dictionary describing the position of the RichMediaWindow.
- Parameters:
position
- a RichMediaPosition object
Copyright © 2015. All Rights Reserved.