AddRichMediaAnnotationFromEmbeddedFile
Rich media, annotations, associated files, payload reuse
คำอธิบาย
สร้างคำอธิบายประกอบ RichMedia ที่พจนานุกรม asset กับ instance ของมันอ้างถึง file specification ฝังตัวที่มีอยู่แล้ว แทนการเขียนสตรีมสื่อซ้ำ
ไวยากรณ์
Delphi
Function AddRichMediaAnnotationFromEmbeddedFile(Left, Top, Width, Height: Double; EmbeddedFileIndex: Integer; Const AssetName, Title, Description: WideString; MediaType: TPDFlibRichMediaType; Activation: TPDFlibRichMediaActivation; Deactivation: TPDFlibRichMediaDeactivation; PosterImageID: Integer= 0): Integer;DLL and ActiveX
int AddRichMediaAnnotationFromEmbeddedFile(double Left, double Top, double Width, double Height, int EmbeddedFileIndex, string AssetName, string Title, string Description, int MediaType, int Activation, int Deactivation, int PosterImageID)Return value
คืนค่า 1 เมื่อสำเร็จ หรือ 0 เมื่อล้มเหลว
หมายเหตุ
EmbeddedFileIndex is one-based and may come from GetAssociatedFileEmbeddedIndexThe method requires Adobe Extension Level 3, rejects PDF/A, and requires a nonempty description in PDF/UA mode
MediaType is 0 through 3, while activation and deactivation values are 0 through 2
ActiveX
PDFlib::AddRichMediaAnnotationFromEmbeddedFile(...)