PDF/VT Recurring Graphical Object Hints

ISO 16612-2:2010 6.7 identifies recurring graphical objects through hint entries on a Form XObject dictionary

THotPDF member

THotPDF.SetPDFVTXObjectHint(FormName, XID, Scope, Env) attaches GTS_XID (6.7.2, a string), GTS_Scope (6.7.3, a name) and the optional GTS_Env (6.7.4) to the XObject named by FormName, which must be a name returned by RegisterFormXObject or BeginFormXObject

Declaration-time shall rules raise here: the call is only meaningful while PDFVTCompliance is set, Scope must be one of SingleUse, Record, File, Stream, Global or Unknown, Record requires PDFVTRecordLevel, Stream is refused because this library produces no PDF/VT-2s chunk, and Global requires a non-empty Env

The 6.7.3 reference-count semantics — SingleUse drawn at most once, File or Record drawn repeatedly — depend on page content and stay with the read-side validation

THotPDF.AddPDFVTNode and THotPDF.EnsurePDFVTCompliance cover the rest of the writing side