THPDFHeadlessTextAppearance.DetachObject

function DetachObject(Index: Integer): THPDFObject;

Transfer ownership of slot zero through six to the caller and clear that slot; free or register the returned object using its corresponding indirect number, preserving all seven generated reference relationships

Repeating the call for the same slot returns nil; an out-of-range index raises ERangeError

Ownership and support contract · Document appearance filling