Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
EnableMorFaxMode Property
See Also  Example
Leadtools.Document Namespace > RasterDocumentEngine Class : EnableMorFaxMode Property




The Fax mode for the MOR interface.

Syntax

Visual Basic (Declaration) 
Public Property EnableMorFaxMode As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim value As Boolean
 
instance.EnableMorFaxMode = value
 
value = instance.EnableMorFaxMode
C# 
public bool EnableMorFaxMode {get; set;}
Managed Extensions for C++ 
public: __property bool get_EnableMorFaxMode();
public: __property void set_EnableMorFaxMode( 
   bool value
);
C++/CLI 
public:
property bool EnableMorFaxMode {
   bool get();
   void set (bool value);
}

Return Value

Gets or sets the Enable Fax flag of the MOR interface that specifies whether the fax image mode is enabled.

Example

Visual BasicCopy Code
Public Sub EnableMorFaxModePropertyExample()
   ' Note that this is a sample key, which will not work in your toolkit
   RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey")

   Dim rasterDocument As RasterDocumentEngine
   rasterDocument = RasterDocumentEngine.Instance
   rasterDocument.Startup()

   If rasterDocument.EnableMorFaxMode = False Then
      rasterDocument.EnableMorFaxMode = True
   End If

   rasterDocument.Shutdown()
End Sub
C#Copy Code
public void EnableMorFaxModePropertyExample() 

   // Note that this is a sample key, which will not work in your toolkit 
   RasterSupport.Unlock(Leadtools.RasterSupportType.Ocr, "TestKey"); 
 
   RasterDocumentEngine rasterDocument; 
   rasterDocument = RasterDocumentEngine.Instance; 
   rasterDocument.Startup(); 
 
   if (rasterDocument.EnableMorFaxMode == false) 
      rasterDocument.EnableMorFaxMode = true; 
 
   rasterDocument.Shutdown(); 
}

Remarks

Possible values are:
  • true: The fax image mode is enabled.
  • false: The fax image mode is not enabled.
This property is used only when the recognition module is RasterDocumentRecognizeModule.OmniFontMultilingual.
For more information, refer to Recognizing Document Pages.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features