%HI_GetFontCharSetRE, %HI_SetFontCharSetRE functions


Function

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

The %HI_GetFontCharSetRE function retrieves the character set of the font of the 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
refIdReference to graphic object Text entry field of the RichEdit type (reference variable).
fontCharSetCharacter set of the selected text in the graphic object Text entry field of the 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.

Napíšte komentár