NewContentStream

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 creates a new content stream part on the selected page. If required, the new content stream part can then be moved behind the existing information on the page using the MoveContentStream function.

Syntax

Delphi

function TPDFlib.NewContentStream: Integer;

ActiveX

Function PDFlib::NewContentStream As Long

DLL

int DLNewContentStream(int InstanceID);

Return values

0The new content stream part could not be created
Non-zeroThe index of the new content stream part. The first part has an index of 1.