API referenceImport & Output APIs

pdfOpenOutputFile

Same contract as [pdfCreateNewPDF](#api-pdfcreatenewpdf) (both route to OpenOutputFile); provided for ABI compatibility.

Same contract as pdfCreateNewPDF (both route to OpenOutputFile); provided for ABI compatibility. Prefer pdfCreateNewPDF… in new code. Exported as pdfOpenOutputFileA / pdfOpenOutputFileW.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Import & Output APIs
Category

Core

Exported names

pdfOpenOutputFileA pdfOpenOutputFileW

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.