THotPDF.SanitiseLoadedRichMediaAnnotations Method
Enterprise edition: this feature ships with HotPDF Enterprise. Add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise"); other editions retain the declaration and raise EHPDFEnterpriseRequired
Applies the targeted RichMedia sanitisation profile to the loaded object graph
Declaration
function SanitiseLoadedRichMediaAnnotations: Integer;
Parameters
This method has no parameters
Return value
Returns the number of RichMedia annotations stripped
Usage notes
The transactional rewrite also deletes payload objects that become unreachable whilst preserving unrelated annotations, actions and embedded files