Debenu Quick PDF logo

EncapsulateContentStream

Content Streams and Optional Content Groups

Version history

This function was renamed in Quick PDF Library version 8.11.

The function name in earlier versions was EncapsulateLayer.

Description

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.

Syntax

Delphi

function TDebenuPDFLibrary1511.EncapsulateContentStream: Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::EncapsulateContentStream As Long

DLL

int DPLEncapsulateContentStream(int InstanceID)


Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport