## Bitmap::Clone() method


現在のオブジェクトのコピーを作成します。

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


### ReturnValue

現在のオブジェクトのコピー。

## 参照

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


現在のオブジェクトが表すビットマップ画像の領域のコピーを表す [Bitmap](../) オブジェクトを作成します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| rect | Rectangle | コピーする領域を指定する矩形 |
| format | Imaging::PixelFormat | 新しい [Bitmap](../) のピクセル形式 |

### ReturnValue

作成された [Bitmap](../) オブジェクト

## 参照

* 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


現在のオブジェクトが表すビットマップ画像の領域のコピーを表す [Bitmap](../) オブジェクトを作成します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| rect | RectangleF | コピーする領域を指定する矩形 |
| format | Imaging::PixelFormat | 新しい [Bitmap](../) のピクセル形式 |

### ReturnValue

作成された [Bitmap](../) オブジェクト

## 参照

* 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++](../../../)
