Click or drag to resize

OcrTextRegion Class

OcrTextRegion represents an area of text on a page.
Inheritance Hierarchy

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class OcrTextRegion : OcrRegion

The OcrTextRegion type exposes the following members.

Constructors
  NameDescription
Public methodOcrTextRegion(Rectangle)
Initializes a new instance of the OcrTextRegion class.
Public methodOcrTextRegion(PolygonF)
Initializes a new instance of the OcrTextRegion class.
Public methodOcrTextRegion(Rectangle, OcrTextRotation)
Initializes a new instance of the OcrTextRegion class.
Top
Properties
  NameDescription
Public propertyBounds
This property represents the bounds of the Region in pixels.
(Inherited from OcrRegion.)
Public propertyConfidence
This property represents the overall confidence with which the text was recognized.
Public propertyExpectedSymbolSet
Gets or sets expected symbol set for the text region.
Public propertyIsRectangular
Gets a value indicating whether region is rectangular or not.
(Inherited from OcrRegion.)
Public propertyLines
This property provides access to individual lines of text within the region.
Public propertyPolygonBounds
This property represents the bounds of the Region.
(Inherited from OcrRegion.)
Public propertyRotation
This property represents the orientation of the text region, expressed as a rotation.
Public propertyTextKind
Gets or sets kind of the text within the text sregion.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodMaskToBounds
Masks provided image to the region's bounds, optionally cropping masked area.
(Inherited from OcrRegion.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRecalculateBounds
Recalculates the bounding box of a text region.
Public methodCode exampleToString
Converts the entire contents of an OcrTextRegion to a single string.
(Overrides ObjectToString.)
Top
See Also