## 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.Font for C++](../../../)
## Bitmap::Clone(Rectangle, Imaging::PixelFormat) method


ينشئ كائنًا من نوع [Bitmap](../) يمثل نسخة من منطقة من صورة البت ماب التي يمثلها الكائن الحالي.

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


| معامل | نوع | الوصف |
| --- | --- | --- |
| 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.Font 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.Font for C++](../../../)
