Vcl.Graphics.IdentToCharset
Delphi
function IdentToCharset(const Ident: string; var Charset: Longint): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IdentToCharset(const System::UnicodeString Ident, System::LongInt &Charset);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
Translates the name of a character set constant to the corresponding character set.
Call IdentToCharset to reverse the translation performed by CharsetToIdent. This method is useful for converting the strings generated by GetCharsetValues into useable character sets. IdentToCharset returns true if the Ident parameter is successfully converted into a character set that is returned by the Charset parameter. IdentToCharset returns false if the Ident parameter is not the name of one of the TFontCharset constants.