This function was introduced in Quick PDF Library version 9.11.
This function combines the content stream parts and surrounds the content stream with "save graphics state" and "restore graphics state" operators.
If the page contains unbalanced "save graphics state" and "restore graphics state" commands this function will add extra "restore graphics state" commands at the end of the page to balance the graphics state stack.
function TDebenuPDFLibrary1511.BalanceContentStream: Integer;
Function DebenuPDFLibrary1511.PDFLibrary::BalanceContentStream As Long
int DPLBalanceContentStream(int InstanceID)