Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OriginalFormat Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : OriginalFormat Property



Gets the original file format of the page.

Syntax

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

Return Value

A 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 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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