API reference › Import & Output APIs
pdfReplaceICCProfileEx
Buffer variant of [pdfReplaceICCProfile](#api-pdfreplaceiccprofile); the profile bytes are copied out of Buffer.
Buffer variant of pdfReplaceICCProfile; the profile bytes are copied out of Buffer.
int32_t __stdcall pdfReplaceICCProfileEx(PPDF IPDF, uint32_t ColorSpace, void* Buffer, uint32_t BufSize);
Compatibility shims (stored, not consumed)
These calls exist so code written for the classic flat C ABI runs unchanged. Each stores its value on the instance and the paired getter reads it back, but no engine code path consults the value — this engine renders in-process and manages import sources per-instance.
C# (P/Invoke)
public static extern int pdfReplaceICCProfileEx(IntPtr IPDF, uint ColorSpace, IntPtr Buffer, uint BufSize);
Core
pdfReplaceICCProfileEx
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.