?? smartread4.h
字號:
typedef unsigned char BYTE;
typedef struct {
BYTE byDLLMajorVersion;
BYTE byDLLMinorVersion;
int chDay;
int chMonth;
int chYear;
}BE_VERSION;
//初始化認證函數,使用語音功能前必須首先調用,可在初始化時設置初始語音,初始語速,初始音量,并可自定義顯示信息,根據用戶名,用戶郵件地址進行認證。
int SmartRead_InitialAuth (int hwndFrom, int iSpeech, int iRate, int iVolume, char *strMessage, char *strTip, char *strName ,char *strMailBox);
//初始化函數,使用語音功能前必須首先調用,可在初始化時設置初始語音,初始語速,初始音量,并可自定義顯示信息
int SmartRead_Initial (int hwndFrom, int iSpeech, int iRate, int iVolume, char *strMessage, char *strTip);
//關閉函數,推出程序前必須調用
int SmartRead_Close(void);
//打開語音設置對話框,用于改變中英文語音,音量,語速,可自定義下載連接
int SmartRead_SetDialog (int hwndFrom, char *strMessage);
//朗讀函數,第一個參數表示要朗讀的文本,第二個參數表示朗讀方式,第三個參數表示使用地語音,第四個參數表示使用的語速,第五個表示使用的音量
int SmartRead_Speak (char *str, int iStyle, int iSpeech, int iRate, int iVolume, int iPunctuation, char *chLink);
//停止朗讀函數
int SmartRead_Stop (void);
//語音開發包版本信息,開在任何時候調用
BE_VERSION SmartRead_Version (void);
//將文本朗讀到WAVE文件的函數,可設置輸出的文件,朗讀語音,朗讀語速,朗讀音量
int SmartRead_SpeakToWave (char *strText, char *strFile, int iStyle, int iSpeech, int iRate, int iVolume, int iFormat, int iPunctuation, char *chLink);
//獲得朗讀的位置
int SmartRead_GetLocationInfo (void);
//在朗讀過程中,改變音量,范圍在0-100之間,100為最高音.
int SmartRead_SetVolume (int iVolume);
//在朗讀過程中,改變語速,范圍在0-100直接,100為最快速度.
int SmartRead_SetSpeed (int iRate);
//在朗讀過程中,實現暫停/繼續功能.
int SmartRead_PauseORContinue (void);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -