|
THPDFPage.AddSoundAnnotation
|
傳回頂部 上一頁 下一頁 |
|
在目前頁面加入新的 Sound 註解
Delphi 語法: procedure AddSoundAnnotation ( Contents: AnsiString; FileName: AnsiString; Rectangle: TRect; Color: TColor = clRed ); overload; procedure AddSoundAnnotation ( const Contents: string; const FileName: TFileName; Rectangle: TRect; Color: TColor = clRed ); overload;
C++ 語法: void __fastcall AddSoundAnnotation ( AnsiString Contents, AnsiString FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed ); void __fastcall AddSoundAnnotation ( const UnicodeString Contents, const Sysutils::TFileName FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed );
說明 使用 AddSoundAnnotation 把聲音檔嵌入目前頁面,成為 Sound 註解,可指定描述(Contents)、音訊檔路徑(FileName)、邊界矩形(Rectangle)與圖示色彩。Unicode 版 TFileName 多載(非 Unicode 目標上為WideString )可直接使用 Unicode 目錄與檔名,不受 ANSI 字碼頁耗損。
|