###User Defined Function### _GDIPlus_BitmapCloneArea ###Description### Créer le clone d'un objet Bitmap de coordonnées et format spécifiés ###Syntax### #Include _GDIPlus_BitmapCloneArea($hBmp, $iLeft, $iTop, $iWidth, $iHeight[, $iFormat = 0x00021808]) ###Parameters### @@ParamTable@@ $hBmp Id de l'objet Bitmap $iLeft Coordonnée X du coin supérieur gauche du rectangle cloné $iTop Coordonnée Y du coin supérieur gauche du rectangle cloné $iWidth Largeur du rectangle qui spécifie la portion du Bitmat cloné. $iHeight Hauteur du rectangle qui spécifie la portion du Bitmat cloné. $iFormat [optionnel] Format de pixel pour le nouveau Bitmap: $GDIP_PXF01INDEXED = 1 bit par pixel, indexé $GDIP_PXF04INDEXED = 4 bits par pixel, indexé $GDIP_PXF08INDEXED = 8 bits par pixel, indexé $GDIP_PXF16GRAYSCALE = 16 bits par pixel, Niveaux de gris $GDIP_PXF16RGB555 = 16 bits par pixel; 5 bits pour chaque composante RVB $GDIP_PXF16RGB565 = 16 bits par pixel; 5 bits pour le rouge, 6 bits pour le vert et 5 bits pour le bleu $GDIP_PXF16ARGB1555 = 16 bits par pixel; 1 bit pour la transparence and 5 bits pour chaque composante RVB $GDIP_PXF24RGB = 24 bits par pixel; 8 bits pour chaque composante RVB $GDIP_PXF32RGB = 32 bits par pixel; 8 bits pour chaque composante RVB. Pas de composante de transparence. $GDIP_PXF32ARGB = 32 bits par pixel; 8 bits pour chaque composante RVB et composante de transparence $GDIP_PXF32PARGB = 32 bits par pixel; 8 bits pour chaque composante RVB et composante de transparence, Pré-multiplié $GDIP_PXF48RGB = 48 bits par pixel; 16 bits pour chaque composante RVB $GDIP_PXF64ARGB = 64 bits par pixel; 16 bits pour chaque composante RVB et composante de transparence $GDIP_PXF64PARGB = 64 bits par pixel; 16 bits pour chaque composante RVB et composante de transparence, pré-multiplié @@End@@ ###ReturnValue### @@ReturnTable@@ Succès: Retourne l'ID du nouvel objet Bitmap Echec: 0 @@End@@ ###Remarks### Lorsque vous en avez terminé avec l'objet Bitmap, appeler la fonction _GDIPlus_BitmapDispose pour libérer les ressources. ###Related### _GDIPlus_BitmapDispose, _GDIPlus_ImageGetPixelFormat ###See Also### @@MsdnLink@@ GdipCloneBitmapAreaI ###Example### @@IncludeExample@@