CDC::GetTextColor

Retrieves the current text color.

COLORREF GetTextColor( ) const;

Возвращаемое значение

The current text color as an RGB color value.

Заметки

The text color is the foreground color of characters drawn by using the GDI text-output member functions TextOut, ExtTextOut, and TabbedTextOut.

Требования

Header: afxwin.h

См. также

Основные понятия

CDC Class

CDC Members

Hierarchy Chart

CDC::GetBkColor

CDC::GetBkMode

CDC::SetBkMode

CDC::SetTextColor

GetTextColor