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.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.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7