mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 19:05:01 +08:00
Make TextBlock.SetReadingOrder(int) public
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user