IGxICMManager.GetScreenProfiles

Syntax

GetScreenProfiles: IGxDeviceICMProfiles;

Description

The GetScreenProfiles method returns the list of color profiles matched with the display.

Example

Sub UserProc;
Var
    ICMMan: IGxICMManager;
    DeviceProf: IGxDeviceICMProfiles;
    i: Integer;
Begin
    ICMMan := New GxICMManager.Create;
    DeviceProf := ICMMan.GetScreenProfiles;
    Debug.WriteLine(Color profiles matched with display);
    Debug.Indent;
    For i := 0 To DeviceProf.Count - 1 Do
        Debug.WriteLine(DeviceProf.Item(i));
    End For;
    Debug.Unindent;
End Sub UserProc;

On executing the example the list of color profiles matched with the display is shown in the development environment console.

See also:

IGxICMManager