/// <summary>Parses the unicode range.</summary> /// <param name="unicodeRange">the string which stores the unicode range</param> /// <returns> /// the unicode range as a /// <see cref="iText.Layout.Font.Range"/> /// object /// </returns> public static Range ParseUnicodeRange(String unicodeRange) { String[] ranges = iText.IO.Util.StringUtil.Split(unicodeRange, ","); RangeBuilder builder = new RangeBuilder(); foreach (String range in ranges) { if (!AddRange(builder, range)) { return(null); } } return(builder.Create()); }