 | PdfiumFPDFImageObj_SetBitmap(IntPtr, Int32, IntPtr, IntPtr, ImageCompression) Method |
Set the bitmap to an image object.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFImageObj_SetBitmap(
IntPtr pages,
int nCount,
IntPtr image_object,
IntPtr bitmap,
ImageCompression compress
)
Public Shared Function FPDFImageObj_SetBitmap (
pages As IntPtr,
nCount As Integer,
image_object As IntPtr,
bitmap As IntPtr,
compress As ImageCompression
) As Boolean
public:
static bool FPDFImageObj_SetBitmap(
IntPtr pages,
int nCount,
IntPtr image_object,
IntPtr bitmap,
ImageCompression compress
)
static member FPDFImageObj_SetBitmap :
pages : IntPtr *
nCount : int *
image_object : IntPtr *
bitmap : IntPtr *
compress : ImageCompression -> bool
public static boolean FPDFImageObj_SetBitmap(
IntPtr pages,
int nCount,
IntPtr image_object,
IntPtr bitmap,
ImageCompression compress
)
Patagames.Pdf.Pdfium.FPDFImageObj_SetBitmap = function(pages, nCount, image_object, bitmap, compress);
Parameters
- pages IntPtr
- Pointer's to the start of all loaded pages.
- nCount Int32
- Number of pages.
- image_object IntPtr
- Handle to image object returned by FPDFPageObj_NewImgeObj(IntPtr).
- bitmap IntPtr
- The Handle to the bitmap which you want to set it to the image object.
- compress ImageCompression
- A flag indicating which compression to apply to the bitmap.
Return Value
BooleanTRUE if successful, FALSE otherwise.
Remarks
See Also