API referenceCore SDK

pdfCreate3DBackground

Set a 3D view's background color.

C
BOOL32 __stdcall pdfCreate3DBackground(PPDF IPDF, void* IView, uint32_t BackColor);
Delphi
function pdfCreate3DBackground(const IPDF: PPDF; IView: Pointer; BackColor: Cardinal): LongBool; stdcall;

Purpose. Set a 3D view's background color.

Parameters.

ParameterDescription
IPDFDocument handle.
IViewAn opaque view handle from pdfCreate3DView.
BackColorPacked background color.

Return value. True if IView decodes to a valid view; False otherwise.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Object Creation

Exported names

pdfCreate3DBackground

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.