Make TextBlock.SetReadingOrder(int) public

This commit is contained in:
BobLd
2020-01-13 09:19:15 +00:00
committed by Eliot Jones
parent fd014cfaa7
commit 47672d3f90
2 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
/// <summary>
/// Reading order detector determines the page's blocks reading order.
/// <para>Note: Make sure you use <see cref="TextBlock.SetReadingOrder(int)"/> to set each <see cref="TextBlock"/> reading order when implementing <see cref="IReadingOrderDetector.Get(IReadOnlyList{TextBlock})"/>.</para>
/// </summary>
public interface IReadingOrderDetector
{

View File

@@ -67,7 +67,11 @@
TextDirection = lines[0].TextDirection;
}
internal void SetReadingOrder(int readingOrder)
/// <summary>
/// Sets the <see cref="TextBlock"/>'s reading order.
/// </summary>
/// <param name="readingOrder"></param>
public void SetReadingOrder(int readingOrder)
{
if (readingOrder < -1)
{