Nicomsoft OCR: Developer's Guide |
C++: | int Img_SaveToFile(HIMG ImgObj, UNICODECHAR* FileName, int Format, int Flags) |
C#: | int Img_SaveToFile(int ImgObj, string FileName, int Format, int Flags) |
Visual Basic: | Function Img_SaveToFile(ByVal ImgObj As Integer, ByVal FileName As String, ByVal Format As Integer, ByVal Flags As Integer) As Integer |
Java: | int Img_SaveToFile(HIMG ImgObj, String FileName, int Format, int Flags) |
Delphi: | function Img_SaveToFile(ImgObj:HIMG; FileName:PWCHAR; Format:integer; Flags:integer):integer |
ImgObj [IN] – the Image object. You can also specify the Block object to save only a part of the image. | |
FileName [IN] – a Unicode, null-terminated string that contains the full path and filename of the image file that will be created. | |
Format [IN] – the destination image file format. See the IMG_FORMAT_XXXXX constants for possible values. | |
Flags [IN] – for the default options, specify 0; for the JPEG format, you can also specify the quality level (1 ... 100). |