mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Moving back to trunk!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
ad265b2c54
commit
8d458998a1
332 changed files with 17647 additions and 9466 deletions
|
@ -19,11 +19,9 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Collections;
|
||||
using Greenshot.Interop;
|
||||
|
||||
|
||||
namespace GreenshotOCR {
|
||||
[ComProgId("MODI.Document")]
|
||||
public interface ModiDocu : Common {
|
||||
|
@ -33,6 +31,7 @@ namespace GreenshotOCR {
|
|||
}
|
||||
void Create(string file);
|
||||
void OCR(ModiLanguage language, bool Orientimage, bool StraightenImage);
|
||||
void SaveAs(string filename, FileFormat fileFormat, CompressionLevel compressionLevel);
|
||||
}
|
||||
|
||||
public interface Common : IDisposable {
|
||||
|
@ -84,4 +83,16 @@ namespace GreenshotOCR {
|
|||
TURKISH = 31,
|
||||
SYSDEFAULT = 2048
|
||||
}
|
||||
|
||||
public enum CompressionLevel {
|
||||
miCOMP_LEVEL_LOW = 0,
|
||||
miCOMP_LEVEL_MEDIUM = 1,
|
||||
miCOMP_LEVEL_HIGH = 2
|
||||
}
|
||||
public enum FileFormat {
|
||||
miFILE_FORMAT_DEFAULTVALUE = -1,
|
||||
miFILE_FORMAT_TIFF = 1,
|
||||
miFILE_FORMAT_TIFF_LOSSLESS = 2,
|
||||
miFILE_FORMAT_MDI = 4
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue