public class RichMediaInstance extends PdfDictionary
RichMediaConfiguration
, Serialized Form
Modifier and Type | Field and Description |
---|---|
protected boolean |
flash
True if the instance is a flash animation.
|
Constructor and Description |
---|
RichMediaInstance(PdfName subtype)
Creates a RichMediaInstance.
|
Modifier and Type | Method and Description |
---|---|
void |
setAsset(PdfIndirectReference asset)
Sets a dictionary that shall be an indirect object reference to a file specification dictionary that is also referenced in the Assets name tree of the content of the annotation.
|
void |
setParams(RichMediaParams params)
Sets the parameters.
|
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 RichMediaInstance(PdfName subtype)
subtype
- possible values are: PdfName._3D, PdfName.FLASH, PdfName.SOUND, and PdfName.VIDEO.
public void setParams(RichMediaParams params)
params
- a RichMediaParams object
public void setAsset(PdfIndirectReference asset)
asset
- a reference to a dictionary present in the Assets name tree
Copyright © 2016. All rights reserved.