Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

Editor.RegisterEmoticonSet Method (String, String, String[])

Registers a custom emoticon set.

[Visual Basic]
Overloads Public Shared Sub RegisterEmoticonSet( _
   ByVal name As String, _
   ByVal folder As String, _
   ParamArray icons As String() _
)
[C#]
public static void RegisterEmoticonSet(
   string name,
   string folder,
   params string[] icons
);

Parameters

name
Name of the set. Set it to null (Visual Basic Nothing) to replace the default emoticon set.
folder
The directory name where all emoticons are located. Use "~" to represent the application root. For example, "~\emoticons\".
icons
A list of icon file names without directory name. For example, "Smile.gif".

Remarks

This function registers a new emoticon set within the current application. Once an emoticon set is registered, set the editor's EmoticonSet property to the name of the set to use the set.

This function uses the file name without extension as the icon's tooltip text. For example, uses "Smile" for "Smile.gif".

See Also

Editor Class | EO.Web Namespace | Editor.RegisterEmoticonSet Overload List


Direct link to this topic