Clone AnyBitmap
One feature that IronDrawing provide is Clone AnyBitmap. This feature enable users to make an exact copy of AnyBitmap file and save it without affecting the copied file. Users can also specify the area that they want to copy from a file by implementing CropRectangle feature inside and save the copy of the specified part of the file without modifying the original file.
To clone an AnyBitmap
file, simply load a AnyBitmap
file and use the .Clone()
method on the file and save it. To implement CropRectangle
feature, instantiate the CropRectangle
method inside the clone method .Clone(new CropRectangle(X, Y, Width, Height))
. All properties of CropRectangle
are measured using pixels (px).