편집

다음을 통해 공유


ScreenshotUtility Class

Definition

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.

Applies to