This function was renamed in Quick PDF Library version 8.11.
The function name in earlier versions was EncapsulateLayer.
A page in a PDF document has one or more content stream parts that together contain all the PDF page description commands for the page.
This function combines the content stream parts and surrounds the content stream with "save graphics state" and "restore graphics state" operators. This has the effect of clearing the current clipping path.
Some pages may contain unbalanced "save graphics state" and "restore graphics state" operators. The BalanceContentStream function can be used to repair such pages.
function TDebenuPDFLibrary1511.EncapsulateContentStream: Integer;
Function DebenuPDFLibrary1511.PDFLibrary::EncapsulateContentStream As Long
int DPLEncapsulateContentStream(int InstanceID)