Important: The information in this document is obsolete and should not be used for new development.
Checking and Setting Script Variables
Each enabled script system maintains a set of variables that control the current settings of that script system, including the ID numbers of its international resources, its preferred fonts and font sizes, and its primary line direction.You may want access to the script variables in order to conform to the script's current settings or to modify them. The
GetScriptVariable
function retrieves the values of the script variables, and theSetScriptVariable
function sets their values. (The variables themselves are private and you cannot access them directly.) When you call either routine, you use a selector to describe the variable that interests you. The integer constants for all definedGetScriptVariable
/SetScriptVariable
selectors are described on page 6-65.
Subtopics
- GetScriptVariable
- SetScriptVariable