Clone()
Contents
[
Hide
]Bitmap::Clone() method
Creates a copy of the current object.
virtual SharedPtr<Image> System::Drawing::Bitmap::Clone() override
Return Value
A copy of the current object.
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)
Arguments
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The rectangle that specifies the region to copy |
format | Imaging::PixelFormat | The pixel format for the new Bitmap |
Return Value
The created Bitmap object
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)
Arguments
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The rectangle that specifies the region to copy |
format | Imaging::PixelFormat | The pixel format for the new Bitmap |
Return Value
The created Bitmap object
See Also
- Enum PixelFormat
- Typedef SharedPtr
- Class Image
- Class Bitmap
- Class Rectangle
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.Slides