Debenu Quick PDF logo

MoveContentStream

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.

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

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

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