|
THPDFPage.AddSoundAnnotation
|
Góra Poprzedni Następny |
|
Dodaje nową adnotację Sound na bieżącej stronie.
Delphi syntax: 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++ syntax: 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 );
Opis AddSoundAnnotation osadza plik dźwiękowy na bieżącej stronie jako adnotację Sound z podanym opisem (Contents), ścieżką pliku audio (FileName), prostokątem otaczającym (Rectangle) i kolorem ikony. Przeciążenie Unicode TFileName (WideString na celach nie-Unicode) otwiera katalogi i nazwy plików Unicode bez utraty znaków przez stronę kodową ANSI
|