Sign in Join
FPDoc Onlineexperiment

IdentToCharset function

In unit Graphics

Converts the specified character set identifier to the its numeric representation.

Declaration

pascal
function IdentToCharset(const Ident: string; out Charset: LongInt)
: Boolean

Arguments

Ident

String with the character set identifier to locate in the FontCharsets constant.

Charset

Returns the numeric representation for the specified character set name. It returns the value on entry if Ident is not found.

Function result

True if the specified string value exists in the FontCharsets constant.

Description

Calls the RTL IdentToInt routine to locate the TIdentMapEntry for the specified value in the FontCharsets constant.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.