API reference › Import & Output APIs
pdfUseUnsafeContentStreams
Set the content-safety level (ABI compatibility).
Purpose — Set the content-safety level (ABI compatibility).
Description — The level is stored on the instance but no engine code path consults it yet; content operators are always emitted as requested. Accepted so portable code can call it unconditionally.
C
int32_t __stdcall pdfUseUnsafeContentStreams(PPDF IPDF, int32_t SafetyLevel);
Return value — 1 on a valid instance handle; 0 otherwise.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfUseUnsafeContentStreams(IntPtr IPDF, int SafetyLevel);
Area
Import & Output APIs
Category
Core
Exported names
pdfUseUnsafeContentStreams
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.