Class Page
Inheritance
System.Object
Page
Implements
System.IDisposable
Assembly: IronOcr.dll
Syntax
public sealed class Page : DisposableBase, IDisposable
Properties
ImageName
Declaration
public string ImageName { get; }
Property Value
Type |
Description |
System.String |
|
PageSegmentMode
Declaration
public PageSegMode PageSegmentMode { get; }
Property Value
RegionOfInterest
Declaration
public Rect RegionOfInterest { get; set; }
Property Value
Methods
AnalyseLayout()
Declaration
public PageIterator AnalyseLayout()
Returns
DetectBestOrientation(out Orientation, out Single)
Declaration
public void DetectBestOrientation(out Orientation orientation, out float confidence)
Parameters
Type |
Name |
Description |
Orientation |
orientation |
|
System.Single |
confidence |
|
DetectBestOrientation(out Int32, out Single)
Declaration
public void DetectBestOrientation(out int orientation, out float confidence)
Parameters
Type |
Name |
Description |
System.Int32 |
orientation |
|
System.Single |
confidence |
|
DetectBestOrientationAndScript(out Int32, out Single, out String, out Single)
Declaration
public void DetectBestOrientationAndScript(out int orientation, out float confidence, out string scriptName, out float scriptConfidence)
Parameters
Type |
Name |
Description |
System.Int32 |
orientation |
|
System.Single |
confidence |
|
System.String |
scriptName |
|
System.Single |
scriptConfidence |
|
Dispose(Boolean)
Declaration
public override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
Finalize()
Declaration
protected override void Finalize()
Overrides
GetBoxText(Int32)
Declaration
public string GetBoxText(int pageNum)
Parameters
Type |
Name |
Description |
System.Int32 |
pageNum |
|
Returns
Type |
Description |
System.String |
|
GetHOCRText(Int32, Boolean)
Declaration
public string GetHOCRText(int pageNum, bool useXHtml = false)
Parameters
Type |
Name |
Description |
System.Int32 |
pageNum |
|
System.Boolean |
useXHtml |
|
Returns
Type |
Description |
System.String |
|
GetIterator()
Declaration
public ResultIterator GetIterator()
Returns
GetMeanConfidence()
Declaration
public float GetMeanConfidence()
Returns
Type |
Description |
System.Single |
|
GetSegmentedRegions(PageIteratorLevel)
Declaration
public List<Rectangle> GetSegmentedRegions(PageIteratorLevel pageIteratorLevel)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<IronSoftware.Drawing.Rectangle> |
|
GetText()
Declaration
Returns
Type |
Description |
System.String |
|
GetUNLVText()
Declaration
public string GetUNLVText()
Returns
Type |
Description |
System.String |
|
Implements
System.IDisposable