Click or drag to resize

PdfiumFPDFOBJ_Clone Method

Create a new PDF object based on this object.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDFOBJ_Clone(
	IntPtr obj_handle,
	bool bDirect = false
)

Parameters

obj_handle  IntPtr
Handle to the PDF object
bDirect  Boolean  (Optional)
A flag indicating whether indirect objects should be cloned as direct objects.

Return Value

IntPtr
Handle to a newly created PDF object.
Remarks

Call FPDFOBJ_Release(IntPtr) method when you no longer need to use a PDF object.

bDirect should be False to keep indirect objects as is; True to convert indirect objects to direct objects.

See Also