RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.IdentToCharset Function

Translates the name of a character set constant to the corresponding character set.

Pascal
function IdentToCharset(const Ident: string; var Charset: Longint): Boolean;
C++
Boolean IdentToCharset(const AnsiString Ident, Longint Charset);

Graphics

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. 

TFont 

GetCharsetValues 

CharSetToIdent 

TFontCharset

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!