|
THPDFPage.AddFileAttachmentAnnotation
|
Oben Zurück Weiter |
|
Fügt eine neue FileAttachment-Anmerkung auf der aktuellen Seite hinzu
Delphi-Syntax: procedure AddFileAttachmentAnnotation ( Contents: AnsiString; FileName: AnsiString; Rectangle: TRect; Color: TColor = clRed ); overload; procedure AddFileAttachmentAnnotation ( const Contents: string; const FileName: TFileName; Rectangle: TRect; Color: TColor = clRed ); overload;
C++-Syntax: void __fastcall AddFileAttachmentAnnotation ( AnsiString Contents, AnsiString FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed ); void __fastcall AddFileAttachmentAnnotation ( const UnicodeString Contents, const Sysutils::TFileName FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed );
Beschreibung Verwenden Sie AddFileAttachmentAnnotation, um eine Datei auf der aktuellen Seite als Anmerkung vom Typ FileAttachment mit der angegebenen Beschreibung (Contents), dem Dateipfad (FileName), dem Begrenzungsrechteck (Rectangle) und der Symbolfarbe einzubetten. Die Unicode-Überladung TFileName (WideString auf Nicht-Unicode-Zielen) öffnet Unicode-Verzeichnis- und Dateinamen ohne ANSI-Codepage-Verlust und schreibt den Eintrag (/UF) der Dateispezifikation, wenn der Blattdateiname Nicht-ASCII-Zeichen enthält.
|