System::Drawing::Bitmap::Clone method
Contents
[
Hide
]Bitmap::Clone() method
Creates a copy of the current object.
virtual SharedPtr<Image> System::Drawing::Bitmap::Clone() override
ReturnValue
A copy of the current object.
See Also
- Typedef SharedPtr
- Class Image
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.PUB for C++
Bitmap::Clone(Rectangle, Imaging::PixelFormat) method
Creates a Bitmap object that represents a copy of a region of the bitmap image represented by the current object.
SharedPtr<Bitmap> System::Drawing::Bitmap::Clone(Rectangle rect, Imaging::PixelFormat format)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The rectangle that specifies the region to copy |
format | Imaging::PixelFormat | The pixel format for the new Bitmap |
ReturnValue
The created Bitmap object
See Also
- Typedef SharedPtr
- Class Bitmap
- Class Rectangle
- Enum PixelFormat
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.PUB for C++
Bitmap::Clone(RectangleF, Imaging::PixelFormat) method
Creates a Bitmap object that represents a copy of a region of the bitmap image represented by the current object.
SharedPtr<Bitmap> System::Drawing::Bitmap::Clone(RectangleF rect, Imaging::PixelFormat format)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The rectangle that specifies the region to copy |
format | Imaging::PixelFormat | The pixel format for the new Bitmap |
ReturnValue
The created Bitmap object
See Also
- Typedef SharedPtr
- Class Bitmap
- Class RectangleF
- Enum PixelFormat
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.PUB for C++