UseUnsafeContentStreams

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 specifies whether content stream parts that were not created by PDF Library should be automatically re-used or not.

Syntax

Delphi

function TPDFlib.UseUnsafeContentStreams(SafetyLevel: Integer): Integer;

ActiveX

Function PDFlib::UseUnsafeContentStreams(SafetyLevel As Long) As Long

DLL

int DLUseUnsafeContentStreams(int InstanceID, int SafetyLevel);

Parameters

SafetyLevel0 = Only re-use existing loslab PDF Library content stream parts (Default) 1 = Re-use any content stream part

Return values

0The SafetyLevel parameter was out of range
1The safety level was set successfully