Version

SaveScreenShot(String,Rectangle) Method

Save a screenshot for the specified recttangle. The saved image will be created using a screen shot
Syntax
'Declaration
 
Public Overloads Overridable Function SaveScreenShot( _
   ByVal fileName As String, _
   ByVal rect As Rectangle _
) As Boolean
public virtual bool SaveScreenShot( 
   string fileName,
   Rectangle rect
)

Parameters

fileName
screenshot file full name
rect
Rectangle (in control coordinate) to take screenshot for

Return Value

true if screenshot saved successfully
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also