Implementation of a screenshot feature in WPF browser.