THotPDF.GetLoadedRichMediaAssetCount Method

Counts the FileSpec entries in the bounded asset name tree of a loaded RichMedia annotation

Declaration

function GetLoadedRichMediaAssetCount(PageIndex, AnnotationIndex: Integer): Integer;

Parameters

PageIndex and AnnotationIndex are zero-based loaded-document indexes

Return value

Returns the asset count, or zero for an invalid index, non-RichMedia annotation, or empty asset tree

Usage notes

Use the result as the upper bound for GetLoadedRichMediaAssetInfo and ExtractLoadedRichMediaAsset

Related APIs