RenditionAction

RenditionAction

Overview

RenditionAction is a class in Aspose.PDF FOSS for Java. Inherits from: PdfAction.

Rendition action — controls multimedia renditions (ISO 32000-1:2008, §12.6.4.13).

This class provides 8 methods for working with RenditionAction objects in Java programs. Available methods include: RenditionAction, fromDictionary, getAnnotation, getNext, getOperation, getPdfDictionary, getRendition, getType. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: OP_PAUSE, OP_PLAY, OP_PLAY_STOP, OP_RESUME, OP_STOP, annotation, and 5 more.

Properties

NameTypeAccessDescription
operationintReadReturns the operation code (0–4).
renditionPdfDictionaryReadReturns the rendition dictionary (/R).
annotationPdfDictionaryReadReturns the screen annotation associated with this action (/AN).
OP_PLAY_STOPintReadPlay if not playing, stop if playing.
OP_STOPintReadStop.
OP_PAUSEintReadPause.
OP_RESUMEintReadResume.
OP_PLAYintReadPlay.
pdfDictionaryPdfDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
RenditionAction(dict: PdfDictionary)Parses a RenditionAction from an existing dictionary.
getOperation()intReturns the operation code (0–4).
getRendition()PdfDictionaryReturns the rendition dictionary (/R).
getAnnotation()PdfDictionaryReturns the screen annotation associated with this action (/AN).
getPdfDictionary()PdfDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: PdfDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

See Also

 English