Emojione.GetImage Method

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

GetImage(string, bool, bool, bool)

Get image markup for specified emoji.

public static string GetImage(string input, bool ascii = false, bool inline = false, bool sprite = false)

Parameters

input
string

A single native unicode emoji or emoji shortname, e.g. 😃 or :smiley:.

ascii
bool

true to also convert ascii emoji to images, e.g. :D.

inline
bool

true to return inline <svg> instead of <img>.

sprite
bool

true to enable sprite mode instead of individual image.

Returns

string

The codepoint.