THotPDF.ExtractLoadedRichMediaAsset Method

返回某个具名 RichMedia 资源的 EmbeddedFile 流解码后的字节

声明

function ExtractLoadedRichMediaAsset(PageIndex, AnnotationIndex, AssetIndex: Integer; out ABytes: TBytes): boolean;

参数

索引从零开始,ABytes 接收解码后的载荷

返回值

当选中的 FileSpec 能解析到可读的内嵌流时,返回 True

使用说明

沿用常规的已加载流解码限制,因此滤镜或载荷畸形、或超出配置预算时会失败,且不会返回部分字节

相关 API