 | PdfiumFFPDFBitmap_SwapXY Method |
Clone and swap the bitmap.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FFPDFBitmap_SwapXY(
IntPtr bitmap,
bool bXFlip,
bool bYFlip,
FX_RECT pClip = null
)
Public Shared Function FFPDFBitmap_SwapXY (
bitmap As IntPtr,
bXFlip As Boolean,
bYFlip As Boolean,
Optional pClip As FX_RECT = Nothing
) As IntPtr
public:
static IntPtr FFPDFBitmap_SwapXY(
IntPtr bitmap,
bool bXFlip,
bool bYFlip,
FX_RECT^ pClip = nullptr
)
static member FFPDFBitmap_SwapXY :
bitmap : IntPtr *
bXFlip : bool *
bYFlip : bool *
?pClip : FX_RECT
(* Defaults:
let _pClip = defaultArg pClip null
*)
-> IntPtr
public static IntPtr FFPDFBitmap_SwapXY(
IntPtr bitmap,
boolean bXFlip,
boolean bYFlip,
FX_RECT pClip = null
)
Patagames.Pdf.Pdfium.FFPDFBitmap_SwapXY = function(bitmap, bXFlip, bYFlip, pClip);
Parameters
- bitmap IntPtr
- A handle to the device independent bitmap.
- bXFlip Boolean
- A flag indicating whether to swap an image in horizontal dimension.
- bYFlip Boolean
- A flag indicating whether to swap an image in vertical dimension.
- pClip FX_RECT (Optional)
- Clipping area.
Return Value
IntPtrA bitmap descriptor containing copied pixels.
When an application is finished using the bitmap handle returned by
FFPDFBitmap_SwapXY(IntPtr, Boolean, Boolean, FX_RECT),
use the
FPDFBitmap_Destroy(IntPtr) function to close the handle.
See Also