.NET Framework Class Library
RenderTargetBitmap..::.Clear Method

Clears the render target and sets all pixels to transparent black.

Namespace:  System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)
Syntax

Visual Basic (Declaration)
Public Sub Clear
Visual Basic (Usage)
Dim instance As RenderTargetBitmap

instance.Clear()
C#
public void Clear()
Visual C++
public:
void Clear()
JScript
public function Clear()
XAML
You cannot use methods in XAML.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker