Debenu Quick PDF logo


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 LayerSafe.


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 determines if the content stream part that was selected using the SelectContentStream function was created by Quick PDF Library or not.

Only content stream parts created by Quick PDF Library should be considered "safe" to drawn on. If a content stream part is not safe it would be best to combine all the content stream parts using the CombineContentStreams function before drawing on the page to prevent later errors in the document.



function TDebenuPDFLibrary1511.ContentStreamSafe: Integer;


Function DebenuPDFLibrary1511.PDFLibrary::ContentStreamSafe As Long


int DPLContentStreamSafe(int InstanceID)

Return values

0 The layer was not created by Quick PDF Library and care should be taken when drawing onto this layer
1 The layer was created by Quick PDF Library and is safe to draw on

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport