UtilImageTakeScreenshotFromWpfElement Method

Takes a screenshot of a WPF UIElement.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Image TakeScreenshotFromWpfElement(
	UIElement element,
	bool includeMouse
)

Parameters

element  UIElement
The WPF element to take the snapshot from.
includeMouse  Boolean

[Missing <param name="includeMouse"/> documentation for "M:DevCase.Core.Media.Graphics.UtilImage.TakeScreenshotFromWpfElement(System.Windows.UIElement,System.Boolean)"]

Return Value

Image
The resulting image.

See Also