Windows Dev Center

DisplayInformation.GetColorProfileAsync | getColorProfileAsync method

Asynchronously gets the default International Color Consortium (ICC) color profile that is associated with the physical display.

Syntax


displayInformation.getColorProfileAsync().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<IRandomAccessStream>

Object that manages the asynchronous retrieval of the color profile.

Remarks

The asynchronous operation fails if no physical display is attached to the computer on which the app is running (for example, if the app is running over Remote Desktop Connection), if no color profile is associated with the display, or if the profile doesn't match the signature of an ICC color profile.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.winmd

See also

DisplayInformation

 

 

Show:
© 2015 Microsoft