PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFSoundAnnotation Class / setSoundPayload Method
The content of the sound played by the annotation.
Collapse All Expand All
In This Topic

setSoundPayload Method
In This Topic
Sets the sound content.
Syntax

    public void setSoundPayload(
       byte[] soundPayload
    )

#### Parameters

soundPayload
  The content of the sound played by the annotation.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When sound payload is null.

See Also

#### Reference

PDFSoundAnnotation Class
PDFSoundAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.