ScreenshotUtility Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility class to aide in taking screenshots via menu items and public APIs. Screenshots can be capture at various resolutions and with the current camera's clear color or a transparent clear color for use in easy post compositing of images.
public ref class ScreenshotUtility
public class ScreenshotUtility
type ScreenshotUtility = class
Public Class ScreenshotUtility
- Inheritance
-
ScreenshotUtility
Constructors
ScreenshotUtility() |
Methods
CaptureScreenshot(String, Int32, Boolean, Camera) |
Captures a screenshot with the current main camera's clear color. |
GetScreenshotDirectory() |
Gets a directory which is safe for saving screenshots. |
GetScreenshotPath() |
Gets a unique screenshot path with a file name based on date and time. |