HI_GetFontCharSetRE

HI_GetFontCharSetRE

%HI_GetFontCharSetRE, %HI_SetFontCharSetRE functions


Function

The function %HI_SetFontCharSetRE sets a character set to selected text in the graphic object Text entry field of RichEdit type (control function).

The function %HI_GetFontCharSetRE retrieves the character set of selected text in the graphic object Text entry field of RichEdit type.

Declaration

%HI_SetFontCharSetRE( INT in refId, INT in fontCharSet ) INT %HI_GetFontCharSetRE( INT in refId )

Parameters

refId

Reference to graphic object Text entry field of RichEdit type (reference variable).

fontCharSet

Character set of the selected text in the graphic object Text entry field of RichEdit type.

Note

The character sets includes utf-8, windows-1250, etc.
More information, including the constants, you can find on http://msdn.microsoft.com/en-us/library/ms531361%28VS.85%29.aspx.