 | PdfiumFPDFImageObj_LoadJpegFile Method |
Load Image from a JPEG image file and then set it to an image object.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static bool FPDFImageObj_LoadJpegFile(
IntPtr pages,
int nCount,
IntPtr image_object,
FPDF_FILEACCESS fileAccess
)
Public Shared Function FPDFImageObj_LoadJpegFile (
pages As IntPtr,
nCount As Integer,
image_object As IntPtr,
fileAccess As FPDF_FILEACCESS
) As Boolean
public:
static bool FPDFImageObj_LoadJpegFile(
IntPtr pages,
int nCount,
IntPtr image_object,
FPDF_FILEACCESS^ fileAccess
)
static member FPDFImageObj_LoadJpegFile :
pages : IntPtr *
nCount : int *
image_object : IntPtr *
fileAccess : FPDF_FILEACCESS -> bool public static boolean FPDFImageObj_LoadJpegFile(
IntPtr pages,
int nCount,
IntPtr image_object,
FPDF_FILEACCESS fileAccess
)
Patagames.Pdf.Pdfium.FPDFImageObj_LoadJpegFile = function(pages, nCount, image_object, 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
BooleanSuccess or fail
See Also