 | PdfiumFPDFBitmap_TransferMask Method |
Transfer mask from one Bitmap to another.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFBitmap_TransferMask(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pBitmapMask,
uint color,
int src_left,
int src_top,
int alpha_flag = 0
)
Public Shared Function FPDFBitmap_TransferMask (
bitmap As IntPtr,
dest_left As Integer,
dest_top As Integer,
width As Integer,
height As Integer,
pBitmapMask As IntPtr,
color As UInteger,
src_left As Integer,
src_top As Integer,
Optional alpha_flag As Integer = 0
) As Boolean
public:
static bool FPDFBitmap_TransferMask(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pBitmapMask,
unsigned int color,
int src_left,
int src_top,
int alpha_flag = 0
)
static member FPDFBitmap_TransferMask :
bitmap : IntPtr *
dest_left : int *
dest_top : int *
width : int *
height : int *
pBitmapMask : IntPtr *
color : uint32 *
src_left : int *
src_top : int *
?alpha_flag : int
(* Defaults:
let _alpha_flag = defaultArg alpha_flag 0
*)
-> bool
public static boolean FPDFBitmap_TransferMask(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pBitmapMask,
UInt32 color,
int src_left,
int src_top,
int alpha_flag = 0
)
Patagames.Pdf.Pdfium.FPDFBitmap_TransferMask = function(bitmap, dest_left, dest_top, width, height, pBitmapMask, color, src_left, src_top, alpha_flag);
Parameters
- bitmap IntPtr
- A handle to the destination device independent bitmap.
- dest_left Int32
- The left point in the destination bitmap
- dest_top Int32
- The top point in the destination bitmap
- width Int32
- The width
- height Int32
- The height
- pBitmapMask IntPtr
- A handle to the source device independent bitmap.
- color UInt32
- The color
- src_left Int32
- The left point in the source bitmap
- src_top Int32
- The top point in the source bitmap
- alpha_flag Int32 (Optional)
- alpha flag
Return Value
BooleanTRUE if succeed, FALSE if failed.
See Also