←Select platform

OriginalFormat Property

Summary
Gets the original file format of the page.
Syntax
C#
VB
Objective-C
C++
Java
public RasterImageFormat OriginalFormat { get; } 
ReadOnly Property OriginalFormat As RasterImageFormat 
@property (nonatomic, assign, readonly) LTRasterImageFormat originalFormat 
public RasterImageFormat getOriginalFormat() 
property RasterImageFormat OriginalFormat { 
   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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.