THPDFHeadlessTextAppearance.GetObject

function GetObject(Index: Integer): THPDFObject;

Return a borrowed object from slots zero to six; the bundle retains ownership until DetachObject transfers it, and a slot that has already been detached returns nil

Keep the bundle alive and never free an attached object separately; an index outside the seven documented slots raises ERangeError

Ownership and support contract · Document appearance filling