/// <summary> /// Create a Bidi object representing the bidi information on a line of text within /// the paragraph represented by the current Bidi. This call is not required if the /// entire paragraph fits on one line. /// </summary> /// <param name="lineStart"> the offset from the start of the paragraph to the start of the line. </param> /// <param name="lineLimit"> the offset from the start of the paragraph to the limit of the line. </param> /// <returns> a {@code Bidi} object </returns> public Bidi CreateLineBidi(int lineStart, int lineLimit) { AttributedString astr = new AttributedString(""); Bidi newBidi = new Bidi(astr.Iterator); return(BidiBase.setLine(this, BidiBase, newBidi, newBidi.BidiBase, lineStart, lineLimit)); }