/// <summary> /// Captures the object as screenshot directly into the given file. /// </summary> /// <param name="filePath">The filepath where the screenshot should be saved.</param> public void CaptureToFile(string filePath) { ScreenCapture.CaptureAreaToFile(Properties.BoundingRectangle, filePath); }
public void CaptureToFile(string filePath) { ScreenCapture.CaptureAreaToFile(Current.BoundingRectangle, filePath); }