Vcl.Graphics.ColorToIdent

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ColorToIdent(Color: Longint; var Ident: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall ColorToIdent(int Color, System::UnicodeString &Ident);

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

説明

TColor 値のシンボル名を提供します。

ColorToIdent 関数を呼び出すと,clBlack や clWindow など,TColor 値を表す定数シンボルの名前を取得できます。Ident パラメータはシンボル名に設定されます。定数シンボルが定義されていない色の場合,ColorToIdent は false を返します。

関連項目