Debenu Quick PDF logo

SelectContentStream

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

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 selects one of the selected page's content stream parts.

All drawing operations are only carried out on the selected content stream part.

Syntax

Delphi

function TDebenuPDFLibrary1511.SelectContentStream(NewIndex: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SelectContentStream(
  NewIndex As Long) As Long

DLL

int DPLSelectContentStream(int InstanceID, int NewIndex)

Parameters

NewIndex The index of the content stream part to select. The first content stream part has an index of 1.

Return values

0 The specified layer could not be selected
1 The specified layer was selected successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport