## Bitmap::Clone() method


Crea una copia dell'oggetto corrente.

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


### ReturnValue

Una copia dell'oggetto corrente.

## Vedi anche

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


Crea un oggetto [Bitmap](../) che rappresenta una copia di una regione dell'immagine bitmap rappresentata dall'oggetto corrente.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| rect | Rettangolo | Il rettangolo che specifica la regione da copiare |
| format | Imaging::PixelFormat | Il formato pixel per il nuovo [Bitmap](../) |

### ReturnValue

L'oggetto [Bitmap](../) creato

## Vedi anche

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


Crea un oggetto [Bitmap](../) che rappresenta una copia di una regione dell'immagine bitmap rappresentata dall'oggetto corrente.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| rect | RectangleF | Il rettangolo che specifica la regione da copiare |
| format | Imaging::PixelFormat | Il formato pixel per il nuovo [Bitmap](../) |

### ReturnValue

L'oggetto [Bitmap](../) creato

## Vedi anche

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