Class NoOutlineRegion
Inheritance
System.Object
NoOutlineRegion
Assembly: IronOcr.dll
Syntax
public sealed class NoOutlineRegion : ValueType
When an advanced scan finds text that sits outside any ruled table, IronOCR records it as a NoOutlineRegion. Each one captures a block of recognized text that has no cell borders around it, so content between or beside tables is not lost during structured extraction.
RegionRect gives the region's rectangle on the page, RegionText holds the recognized text inside it, and Page reports which page it came from. The value type also offers a Deconstruct method, so var (rect, text, page) = region; reads all three at once, and Equals compares two regions for equality by their stored values. Pair these regions with the table results when you reconstruct a document and need both the gridded cells and the surrounding free text in their correct positions, since labels, captions, and notes often sit just outside the ruled grid.
The advanced reading how-to covers the advanced scan, and the read table in a document how-to shows the structured results alongside it.
Constructors
NoOutlineRegion(Rectangle, String, Int32)
Declaration
public NoOutlineRegion(Rectangle RegionRect, string RegionText, int Page)
Parameters
| Type |
Name |
Description |
| IronSoftware.Drawing.Rectangle |
RegionRect |
Rectangle of region extracted from PaddleOCRResultRegion
|
| System.String |
RegionText |
Text in the same region as RegionRect
|
| System.Int32 |
Page |
Page number where the current region belongs
|
Properties
Page
Page number where the current region belongs
Declaration
public int Page { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
RegionRect
Rectangle of region extracted from PaddleOCRResultRegion
Declaration
public Rectangle RegionRect { get; set; }
Property Value
| Type |
Description |
| IronSoftware.Drawing.Rectangle |
|
RegionText
Text in the same region as RegionRect
Declaration
public string RegionText { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
Deconstruct(out Rectangle, out String, out Int32)
Declaration
public void Deconstruct(out Rectangle RegionRect, out string RegionText, out int Page)
Parameters
| Type |
Name |
Description |
| IronSoftware.Drawing.Rectangle |
RegionRect |
|
| System.String |
RegionText |
|
| System.Int32 |
Page |
|
Equals(NoOutlineRegion)
Declaration
public bool Equals(NoOutlineRegion other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Operators
Equality(NoOutlineRegion, NoOutlineRegion)
Declaration
public static bool operator ==(NoOutlineRegion left, NoOutlineRegion right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(NoOutlineRegion, NoOutlineRegion)
Declaration
public static bool operator !=(NoOutlineRegion left, NoOutlineRegion right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements
System.IEquatable<>