THotPDF.ExtractLoadedRichMediaAsset Method
Returns the decoded EmbeddedFile stream bytes for one named RichMedia asset
Declaration
function ExtractLoadedRichMediaAsset(PageIndex, AnnotationIndex, AssetIndex: Integer; out ABytes: TBytes): boolean;
Parameters
The indexes are zero based and ABytes receives the decoded payload
Return value
Returns True when the selected FileSpec resolves to a readable embedded stream
Usage notes
Normal loaded-stream decode limits apply, so malformed filters or payloads beyond the configured budget fail without returning partial bytes