←Select platform

OriginalFormat Property

Summary

Gets the original file format of the page.

Syntax

C#
VB
Java
Objective-C
C++
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 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly