Debenu Quick PDF logo

BalanceContentStream

Content Streams and Optional Content Groups, Page manipulation

Version history

This function was introduced in Quick PDF Library version 9.11.

Description

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.

Syntax

Delphi

function TDebenuPDFLibrary1511.BalanceContentStream: Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::BalanceContentStream As Long

DLL

int DPLBalanceContentStream(int InstanceID)


Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport