THPDFPage.AddSoundAnnotation

THPDFPage

 

Haut  Précédent  Suivant

Ajoute une nouvelle annotation Sound à la page courante.

 

Syntaxe 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;

 

Syntaxe 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 );

 

Description

Utilisez AddSoundAnnotation pour incorporer un fichier audio dans la page courante sous forme d'annotation Sound, avec la description spécifiée (Contents), le chemin du fichier audio (FileName), le rectangle englobant (Rectangle) et la couleur de l'icône. La surcharge Unicode TFileName (WideString sur les cibles non Unicode) ouvre les répertoires et les noms de fichier Unicode sans perte de page de codes ANSI.

 

 

Aperçu d'une annotation audio