PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFSoundAnnotation Class / setSoundType Method
The type of the sound annotation icon.
Collapse All Expand All
In This Topic

setSoundType Method
In This Topic
Sets the sound annotation icon.
The icon name defines the annotation's visual appearance. The library supports a predefined set of names for which standard appearance is created. When a custom name is used, a custom appearance must also be provided.
Syntax

    public void setSoundType(
       java.lang.String soundType
    )

#### Parameters

soundType
  The type of the sound annotation icon.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When soundType is null or empty.

See Also

#### Reference

PDFSoundAnnotation Class
PDFSoundAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.