mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
rename TextDirection into TextOrientation
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
public string Text { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The text direction of the block.
|
||||
/// The text orientation of the block.
|
||||
/// </summary>
|
||||
public TextDirection TextDirection { get; }
|
||||
public TextOrientation TextOrientation { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The rectangle completely containing the block.
|
||||
@@ -64,7 +64,7 @@
|
||||
var maxY = lines.Max(x => x.BoundingBox.Top);
|
||||
BoundingBox = new PdfRectangle(minX, minY, maxX, maxY);
|
||||
|
||||
TextDirection = lines[0].TextDirection;
|
||||
TextOrientation = lines[0].TextOrientation;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user