Click or drag to resize

PdfiumFPDFColorSpace_Release Method

Destroy a color space object and release all related buffers.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDFColorSpace_Release(
	IntPtr colorSpace
)

Parameters

colorSpace  IntPtr
Handle to the color space object. Returned by FPDFColorSpace_Load(IntPtr, IntPtr, IntPtr) function.
Remarks

The handle to the stock color spaces returned by the FPDFColorSpace_GetStockCS(ColorTypes) and FPDFColorSpace_ColorspaceFromName(String) functions does not need to be released.

Note an array object passed to the FPDFColorSpace_Load(IntPtr, IntPtr, IntPtr) is not destroyed by this call.

This method should not be called if the color space object is already in use by some other object. In such a case, this color space object will be destroyed when the other object is destroyed.

See Also