Packagecom.distriqt.extension.ocr.events
Classpublic class OCREvent
InheritanceOCREvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  text : String
The text that was found as part of the recognise process
OCREvent
Public Methods
 MethodDefined By
  
OCREvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
OCREvent
  
clone():Event
[override]
OCREvent
Public Constants
 ConstantDefined By
  RECOGNISE : String = ocr:recognise
[static] Dispatched when the recognise process was completed successully.
OCREvent
  RECOGNISE_ERROR : String = ocr:recognise:error
[static] Dispatched when the recognise process encountered an error.
OCREvent
Property Detail
textproperty
public var text:String

The text that was found as part of the recognise process

Constructor Detail
OCREvent()Constructor
public function OCREvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
text:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
RECOGNISEConstant
public static const RECOGNISE:String = ocr:recognise

Dispatched when the recognise process was completed successully. text should contain the result of the recognition process.

RECOGNISE_ERRORConstant 
public static const RECOGNISE_ERROR:String = ocr:recognise:error

Dispatched when the recognise process encountered an error.