pdfsoundaction-ag凯发旗舰厅



com.spire.pdf.actions
class pdfsoundaction

java.lang.object
  extended by com.spire.pdf.actions.pdfaction
      extended by com.spire.pdf.actions.pdfsoundaction
all implemented interfaces:
ipdfwrapper

public class pdfsoundaction
extends pdfaction

represents the sound action.


constructor summary
pdfsoundaction(java.lang.string filename)
          initializes a new instance of the class.
 
method summary
 boolean getrepeat()
          gets a value indicating whether to repeat the sound indefinitely.
 pdfsound getsound()
          gets the sound.
 float getvolume()
          gets the volume at which to play the sound, in the range -1.0 to 1.0.
 void setrepeat(boolean value)
          sets a value indicating whether to repeat the sound indefinitely.
 void setsound(pdfsound value)
          sets the sound.
 void setvolume(float value)
          sets the volume at which to play the sound, in the range -1.0 to 1.0.
 
methods inherited from class com.spire.pdf.actions.pdfaction
getdictionary, getnextaction, setnextaction
 
constructor detail

pdfsoundaction

public pdfsoundaction(java.lang.string filename)
initializes a new instance of the class.
parameters:
filename - name of the sound file.
method detail

getvolume

public float getvolume()
gets the volume at which to play the sound, in the range -1.0 to 1.0.

setvolume

public void setvolume(float value)
sets the volume at which to play the sound, in the range -1.0 to 1.0.

getsound

public pdfsound getsound()
gets the sound.

setsound

public void setsound(pdfsound value)
sets the sound.

getrepeat

public boolean getrepeat()
gets a value indicating whether to repeat the sound indefinitely. if this entry is present, the property is ignored. default value: false.

setrepeat

public void setrepeat(boolean value)
sets a value indicating whether to repeat the sound indefinitely. if this entry is present, the property is ignored. default value: false.


网站地图