## Bitmap::Clone() method


Crée une copie de l'objet actuel.

```cpp
virtual SharedPtr<Image> System::Drawing::Bitmap::Clone() override
```


### ReturnValue

Une copie de l'objet actuel.

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Image](../../image/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
## Bitmap::Clone(Rectangle, Imaging::PixelFormat) method


Crée un objet [Bitmap](../) qui représente une copie d'une région de l'image bitmap représentée par l'objet actuel.

```cpp
SharedPtr<Bitmap> System::Drawing::Bitmap::Clone(Rectangle rect, Imaging::PixelFormat format)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| rect | Rectangle | Le rectangle qui spécifie la région à copier |
| format | Imaging::PixelFormat | Le format de pixel pour le nouveau [Bitmap](../) |

### ReturnValue

L'objet [Bitmap](../) créé

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Bitmap](../)
* Class [Rectangle](../../rectangle/)
* Enum [PixelFormat](../../../system.drawing.imaging/pixelformat/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
## Bitmap::Clone(RectangleF, Imaging::PixelFormat) method


Crée un objet [Bitmap](../) qui représente une copie d'une région de l'image bitmap représentée par l'objet actuel.

```cpp
SharedPtr<Bitmap> System::Drawing::Bitmap::Clone(RectangleF rect, Imaging::PixelFormat format)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| rect | RectangleF | Le rectangle qui spécifie la région à copier |
| format | Imaging::PixelFormat | Le format de pixel pour le nouveau [Bitmap](../) |

### ReturnValue

L'objet [Bitmap](../) créé

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Bitmap](../)
* Class [RectangleF](../../rectanglef/)
* Enum [PixelFormat](../../../system.drawing.imaging/pixelformat/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
