| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.actions.PdfAction
com.spire.pdf.actions.PdfSoundAction
public class PdfSoundAction
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 | 
|---|
public PdfSoundAction(java.lang.String fileName)
fileName - Name of the sound file.| Method Detail | 
|---|
public float getVolume()
public void setVolume(float value)
public PdfSound getSound()
public void setSound(PdfSound value)
public boolean getRepeat()
public void setRepeat(boolean value)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||