Vcl.Themes.TStyleManager.IsValidStyle

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function IsValidStyle(const FileName: string): Boolean; overload;
class function IsValidStyle(const FileName: string; var StyleInfo: TStyleInfo): Boolean; overload;

C++

__classmethod bool __fastcall IsValidStyle(const System::UnicodeString FileName)/* overload */;
__classmethod bool __fastcall IsValidStyle(const System::UnicodeString FileName, TStyleInfo &StyleInfo)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TStyleManager


Description

Vérifie si un fichier représente un style valide.

IsValidStyle renvoie True si le fichier spécifié par FileName est reconnu en tant que style valide.

La deuxième surcharge de IsValidStyle renvoie aussi des informations sur le style.

Paramètre Signification
FileName Le nom de fichier à vérifier s'il représente un style valide.
StyleInfo Un enregistrement contenant les informations sur le style.

Voir aussi