SelectContentStream

Content Streams and Optional Content Groups

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 TPDFlib.SelectContentStream(NewIndex: Integer): Integer;

ActiveX

Function PDFlib::SelectContentStream(NewIndex As Long) As Long

DLL

int DLSelectContentStream(int InstanceID, int NewIndex);

Parameters

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

Return values

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