←Select platform

OriginalFormat Property

Summary

Gets the original file format of the page.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterImageFormat OriginalFormat { get; } 
ReadOnly Property OriginalFormat As Leadtools.RasterImageFormat 
Leadtools.RasterImageFormat OriginalFormat {get;} 
@property (nonatomic, assign, readonly) LTRasterImageFormat originalFormat 
public RasterImageFormat getOriginalFormat() 
get_OriginalFormat();  
property Leadtools.RasterImageFormat OriginalFormat { 
   Leadtools.RasterImageFormat get(); 
} 

Property Value

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

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.

Example

For an example, refer to IOcrPage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly