BitmapExtensionsClone Method

Creates a copy of the specified IBitmap.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.5.0.0
C#
public static IBitmap Clone(
	this IBitmap bmp
)

Parameters

bmp  IBitmap
The IBitmap to copy.

Return Value

IBitmap
A new IBitmap that is a copy of the specified bitmap.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBitmap. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also