Translates the name of a character set constant to the corresponding character set.
function IdentToCharset(const Ident: string; var Charset: Longint): Boolean;
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.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|