THotPDF.AddLoadedDocumentRequirement Method

Adds a PDF 2.0 /Requirements array entry describing a feature or condition needed to interpret the loaded document correctly

Declaration

procedure AddLoadedDocumentRequirement(const AName: AnsiString; const AKeysAndValues: array of AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
ANameRequirement type name, for example EnableJavaScripts, EnablePlugins, IncludeAnnotations, EnableSecurityHandler, or the PDF 2.0 Beta requirement
AKeysAndValuesFlat array of alternating key and value strings written into the requirement dictionary

Return value

This member does not return a value

Usage notes

Related APIs