Skip to content

Commit

Permalink
GroupDocs.Conversion for .NET 22.9 samples updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-yankov committed Nov 1, 2022
1 parent eb4d9a4 commit 4636f79
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<Import Project="..\GroupDocs.Conversion.Examples.CSharp\GroupDocs.Conversion.Examples.CSharp.projitems" Label="Shared" />

<ItemGroup>
<PackageReference Include="Aspose.OCR" Version="22.7.0" />
<PackageReference Include="Aspose.OCR" Version="22.10.0" />
<PackageReference Include="AWSSDK.S3" Version="3.7.9.62" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.13.1" />
<PackageReference Include="GroupDocs.Conversion" Version="22.9.0" />
<PackageReference Include="GroupDocs.Conversion" Version="22.10.0" />
<PackageReference Include="StackExchange.Redis" Version="2.6.66" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Aspose.OCR">
<HintPath>C:\Users\Nikola\.nuget\packages\aspose.ocr\22.4.0\lib\netstandard2.0\Aspose.OCR.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
Expand All @@ -60,7 +57,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Aspose.OCR">
<Version>22.7.0</Version>
<Version>22.10.0</Version>
</PackageReference>
<PackageReference Include="AWSSDK.Core">
<Version>3.7.13.13</Version>
Expand All @@ -72,7 +69,7 @@
<Version>12.13.1</Version>
</PackageReference>
<PackageReference Include="GroupDocs.Conversion">
<Version>22.9.0</Version>
<Version>22.10.0</Version>
</PackageReference>
<PackageReference Include="StackExchange.Redis">
<Version>2.6.66</Version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<dependentAssembly>
<assemblyIdentity name="Aspose.Drawing"
publicKeyToken="716fcc553a201e56"
culture="neutral" />
<bindingRedirect oldVersion="22.6.0.0" newVersion="22.10.0.0" />
</dependentAssembly>

</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public RecognizedImage Recognize(Stream imageStream)
var rectangles = api.GetRectangles(ms, AreasType.LINES, false);
var result = api.RecognizeImage(ms, new RecognitionSettings
{
DetectAreas = false,
DetectAreasMode = DetectAreasMode.COMBINE,
RecognitionAreas = rectangles
});
return CreateRecognizedImageFromResult(result);
Expand Down

0 comments on commit 4636f79

Please sign in to comment.