Click or drag to resize

PdfiumFPDFImageObj_LoadJpegFile Method

Load Image from a JPEG image file and then set it to an image object.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public static bool FPDFImageObj_LoadJpegFile(
	IntPtr pages,
	int nCount,
	IntPtr image_object,
	FPDF_FILEACCESS fileAccess
)

Parameters

pages  IntPtr
Pointers to the start of all loaded pages, could be IntPtr.Zero.
nCount  Int32
Number of pages, could be 0.
image_object  IntPtr
Handle to image object returned by FPDFPageObj_NewImgeObj(IntPtr).
fileAccess  FPDF_FILEACCESS
The custom file access handler, which specifies the JPEG image file.

Return Value

Boolean
Success or fail
See Also