Edit

Share via


Script.TryParse(String, Script) Method

Definition

Attempts to parse a script code string into a Script value.

public static bool TryParse(string str, out HarfBuzzSharp.Script script);

Parameters

str
String

The four-character ISO 15924 script code string.

script
Script

When this method returns, contains the parsed script if successful.

Returns

true if the string was successfully parsed; otherwise, false.

Applies to