GetRichMediaAssetToFile

Annotations and hotspot links

Description

Extracts an embedded rich media asset's contents directly to a filesystem file

Syntax

Delphi

Function TPDFlib.GetRichMediaAssetToFile(AnnotationIndex, AssetIndex: Integer; Const FileName: WideString): Integer;

Parameters

AnnotationIndexThe 1-based index of the target rich media annotation
AssetIndexThe 1-based index of the asset within the rich media annotation
FileNameThe filesystem path where the extracted asset bytes will be written

Return values

1 if the asset was successfully written, or 0 on error