BeginPDFVCRTemplate

Compliance, variable content, tagged PDF

Description

Opens the single direct PDF/VCR template branch and declares every field that replacement placeholders may reference

Syntax

Delphi

Function BeginPDFVCRTemplate(Const FieldNames, PageSelectionField: WideString): Integer;

Parameters

FieldNamesComma-separated unique field names using ASCII letters, digits, underscore, hyphen or full stop
PageSelectionFieldAn optional declared field that controls page selection, or an empty string

Return value

1 when the template was opened, otherwise 0

Remarks

The method writes a direct Sect child of StructTreeRoot with /O /GTS_Template, a /GTS_Fields PDF-name array and optional /GTS_Pages

Only one template root is allowed and it must be opened with no other structure element active

Close every placeholder before calling EndPDFVCRTemplate

See also

SetPDFVCRMode, BeginPDFVCRPlaceholder, EndPDFVCRTemplate