THotPDF.AddPDFELayer Method

Adds a PDF/E optional-content layer to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing or page rendering steps

Declaration

function AddPDFELayer(const LayerName: AnsiString; VisibleByDefault: boolean= True; const IntentName: AnsiString= 'View'; UserToggleAllowed: boolean= True): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
LayerNamePDF resource name, packet name, profile name or caller-defined identifier
VisibleByDefaultInput supplied to AddPDFELayer
IntentNamePDF resource name, packet name, profile name or caller-defined identifier
UserToggleAllowedInput supplied to AddPDFELayer

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs