THotPDF.SanitiseLoadedRichMediaAnnotations Method

Enterprise edition: this feature ships with HotPDF Enterprise. Add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise"); other editions keep the declaration and raise EHPDFEnterpriseRequired

Applies the targeted RichMedia sanitization profile to the loaded object graph

Declaration

function SanitiseLoadedRichMediaAnnotations: Integer;

Parameters

This method has no parameters

Return value

Returns the number of RichMedia annotations removed

Usage notes

The transactional rewrite also deletes payload objects that become unreachable while preserving unrelated annotations, actions, and embedded files

Related APIs