PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFSoundAnnotation Class / setSamplingRate Method
The sampling rate, in samples per second.
Collapse All Expand All
In This Topic

setSamplingRate Method
In This Topic
Sets the sampling rate.
Syntax

    public void setSamplingRate(
       double samplingRate
    )

#### Parameters

samplingRate
  The sampling rate, in samples per second.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When samplingRate is less than 0.

See Also

#### Reference

PDFSoundAnnotation Class
PDFSoundAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.