LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OriginalFormat Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : OriginalFormat Property



The OriginalFormat Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets the original file format of the page.

Syntax

Visual Basic (Declaration) 
ReadOnly Property OriginalFormat As RasterImageFormat
Visual Basic (Usage)Copy Code
Dim instance As IOcrPage
Dim value As RasterImageFormat
 
value = instance.OriginalFormat
C# 
RasterImageFormat OriginalFormat {get;}
C++/CLI 
property RasterImageFormat OriginalFormat {
   RasterImageFormat get();
}

Property Value

A Leadtools.RasterImageFormat enumeration member indicating the original file format of this page.

Example

For an example, refer to IOcrPage.

Remarks

The original file format of the page is the format of the original file on disk, memory or URL, used when creating this IOcrPage. If this page was created from a Leadtools.RasterImage object created directly in memory, the format will be RasterImageFormat.Unknown.

The value of the OriginalFormat property can be useful when exporting the page back into a disk file with the format it was originally loaded from.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

OriginalFormat requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features