Emojione.ToImage Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToImage(String, Boolean, Boolean, Boolean)

Takes an input string containing both native unicode emoji and shortnames, and translates it into emoji images for display.

public static string ToImage(string str, bool ascii = false, bool inline = false, bool sprite = false)

Parameters

str
System.String
ascii
System.Boolean
inline
System.Boolean
sprite
System.Boolean

Returns

System.String

A string with appropriate html for rendering emoji.