API referenceImport & Output APIs

pdfSelectContentStream

Compatibility shim: succeeds only for NewIndex = 0 (the one physical stream).

Compatibility shim: succeeds only for NewIndex = 0 (the one physical stream).

C
int32_t __stdcall pdfSelectContentStream(PPDF IPDF, int32_t NewIndex);

Return value1 for index 0 on a valid instance; otherwise 0.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfSelectContentStream(IntPtr IPDF, int NewIndex);
Area
Import & Output APIs
Category

Core

Exported names

pdfSelectContentStream

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.