pdfsound-ag凯发旗舰厅



com.spire.pdf.general
class pdfsound

java.lang.object
  extended by com.spire.pdf.general.pdfsound
all implemented interfaces:
ipdfwrapper

public class pdfsound
extends java.lang.object
implements ipdfwrapper

represents sound embedded into pdf document.


constructor summary
pdfsound()
           
pdfsound(java.lang.string filename)
          initializes a new instance of the class.
pdfsound(java.lang.string filename, boolean test)
           
 
method summary
 int getbits()
          gets the number of bits per sample value per channel.
 pdfsoundchannels getchannels()
          gets the number of sound channels.
 pdfsoundencoding getencoding()
          gets the encoding format for the sample data.
 java.lang.string getfilename()
          gets the name of the file.
 int getrate()
          gets the sampling rate, in samples per second (in hz).
 void setbits(int value)
          sets the number of bits per sample value per channel.
 void setchannels(pdfsoundchannels value)
          sets the number of sound channels.
 void setencoding(pdfsoundencoding value)
          sets or sets the encoding format for the sample data.
 void setfilename(java.lang.string value)
          sets the name of the file.
 void setrate(int value)
          sets the sampling rate, in samples per second (in hz).
 
constructor detail

pdfsound

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

pdfsound

public pdfsound(java.lang.string filename,
                boolean test)

pdfsound

public pdfsound()
method detail

getrate

public int getrate()
gets the sampling rate, in samples per second (in hz).

setrate

public void setrate(int value)
sets the sampling rate, in samples per second (in hz).

getbits

public int getbits()
gets the number of bits per sample value per channel.

setbits

public void setbits(int value)
sets the number of bits per sample value per channel.

getencoding

public pdfsoundencoding getencoding()
gets the encoding format for the sample data.

setencoding

public void setencoding(pdfsoundencoding value)
sets or sets the encoding format for the sample data.

getchannels

public pdfsoundchannels getchannels()
gets the number of sound channels.

setchannels

public void setchannels(pdfsoundchannels value)
sets the number of sound channels.

getfilename

public java.lang.string getfilename()
gets the name of the file.

setfilename

public void setfilename(java.lang.string value)
sets the name of the file.


网站地图