WindowsMobile6プロジェクトにtessnet2ライブラリを使用することにしました。残念ながら、コンパイルしようとするとエラーが発生します。
'tessnet2.Tesseract.GetThresholdedImage(System.Drawing.Bitmap、System.Drawing.Rectangle)'に最適なオーバーロードされたメソッドの一致には、いくつかの無効な引数があります
タイプ'System.Drawing.Rectangle'は、参照されていないアセンブリで定義されています。アセンブリへの参照を追加する必要があります'System.Drawing、Version = 2.0.0.0、Culture = neutral、PublicKeyToken =b03f5f7f11d50a3a'
はい知っています。アセンブリへの参照を追加します。問題は、私がやったことです。ソリューションエクスプローラー(System.Drawing)で「参照の追加」によって参照を追加し、「System.Drawingを使用して」と宣言することもできます。
Intellisense works without any problem. When i write 'rect' it automaticlly shows me the list with 'Rectangle' structure on top.
What is the problem? The assembly is added, even intellisense sees it, why doesn't the compiler?