Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1004 Bytes

displayinformation_getcolorprofile_920188392.md

File metadata and controls

29 lines (17 loc) · 1004 Bytes
-api-id -api-type
M:Microsoft.Graphics.Display.DisplayInformation.GetColorProfile
winrt method

Microsoft.Graphics.Display.DisplayInformation.GetColorProfile

-description

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

-returns

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

-remarks

The method returns null 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), or if no color profile is associated with the display, or if the profile doesn't match the signature of an ICC color profile.

If there's no valid ICC color profile associated with the display, then your app should handle that by assuming a default color space, such as sRGB.

-see-also

-examples