## 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](../) يمثل نسخة من منطقة من صورة الـ bitmap التي يمثلها الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| rect | مستطيل | المستطيل الذي يحدد المنطقة المراد نسخها |
| 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](../) يمثل نسخة من منطقة من صورة الـ bitmap التي يمثلها الكائن الحالي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| 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++](../../../)
