BitmapExtensionsCloneCurrentFrame Method
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public static Bitmap CloneCurrentFrame(
this Bitmap bitmap
)
<ExtensionAttribute>
Public Shared Function CloneCurrentFrame (
bitmap As Bitmap
) As Bitmap
public:
[ExtensionAttribute]
static Bitmap^ CloneCurrentFrame(
Bitmap^ bitmap
)
[<ExtensionAttribute>]
static member CloneCurrentFrame :
bitmap : Bitmap -> Bitmap
- bitmap Bitmap
- The bitmap to be cloned.
BitmapA single frame
Bitmap instance that has the same content and has the same pixel format as the current frame of the source bitmap.In Visual Basic and C#, you can call this method as an instance method on any object of type
Bitmap. 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).