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


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 can be used to change the order in which the content stream parts are drawn onto the page to bring certain information to the front or push it to the back.

Content stream parts that you want placed at the back should be drawn first (index of 1).



function TDebenuPDFLibrary1511.MoveContentStream(FromPosition, 
  ToPosition: Integer): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::MoveContentStream(FromPosition As Long,
  ToPosition As Long) As Long


int DPLMoveContentStream(int InstanceID, int FromPosition, int ToPosition)


FromPosition The current content stream part index. The first content stream part has an index of 1. The last content stream part has an index equal to the value returned by the ContentStreamCount function.
ToPosition The new content stream part index.

Return values

0 The content stream part could not be moved
1 Success

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport