com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class RenditionAction

  • All Implemented Interfaces:
    IAppointment


    public final class RenditionAction
    extends PdfAction

    A rendition action that controls the playing of multimedia content.

    • Constructor Detail

      • RenditionAction

        public RenditionAction(String mediaFile,
                               ScreenAnnotation screen)

        Creates the rendition action.

        Parameters:
        mediaFile - The path to multimedia file.
        screen - The ScreenAnnotation object the RenditionAction will be bound with.
    • Method Detail

      • getRendition

        public final Rendition getRendition()

        Gets or sets rendition associated with the action.

        Returns:
        Rendition instance
      • getRenditionOperation

        public final int getRenditionOperation()

        The operation to perform when the action is triggered.

        Returns:
        RenditionOperation element
      • setRenditionOperation

        public final void setRenditionOperation(int value)

        The operation to perform when the action is triggered.

        Parameters:
        value - RenditionOperation element
      • getJavaScript

        public final String getJavaScript()

        Gets or sets JavaScript code associated with the action.

        Returns:
        String value
      • setJavaScript

        public final void setJavaScript(String value)

        Gets or sets JavaScript code associated with the action.

        Parameters:
        value - Staring value