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 LongDLL
int DLSelectContentStream(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 |