Returns a screen image of a control.

Namespace:  C1.C1PrintDocument
Assembly:  C1.C1PrintDocument.Classic.2 (in C1.C1PrintDocument.Classic.2.dll)

Syntax

C#
public static Bitmap GetControlImage(
	Control control,
	bool clientAreaOnly
)
Visual Basic (Declaration)
Public Shared Function GetControlImage ( _
	control As Control, _
	clientAreaOnly As Boolean _
) As Bitmap

Parameters

control
Type: System.Windows.Forms..::.Control
Control in question.
clientAreaOnly
Type: System..::.Boolean
Specifies whether all control surface or client area only must be drawn.

Return Value

See Also