We’re happy to announce the release of GroupDocs.Comparison for .NET 26.1, available as of มกราคม 2026.
GroupDocs.Comparison version 26.1 includes multiple improvements to strengthen performance and stability.
Fixes and enhancements
- [Enhancement] ปรับปรุงฟังก์ชันการแสดงตัวอย่างเอกสาร. (COMPARISONNET-4511)
- [Enhancement] เพิ่มการตั้งค่าสมรรถนะมิติในการแสดงตัวอย่าง. (COMPARISONNET-4294)
Major Features
เพิ่มการตั้งค่าสมรรถนะแมทริกซ์ในการแสดงตัวอย่าง
When previewing a file, you can now specify dimension settings using the Resolution option.
string sourcePath = @"source.pdf";
using (Comparer comparer = new Comparer(sourcePath))
{
ReleasePageStream releasePageStreamDelegate = delegate (int number, Stream stream)
{
stream.Close();
};
PreviewOptions previewOptions = new PreviewOptions(pageNumber =>
{
string outputFolder = @"c:\Temp";
var pagePath = Path.Combine(outputFolder, $"result_{pageNumber}.png");
return File.Create(pagePath);
},
releasePageStreamDelegate);
previewOptions.PreviewFormat = PreviewFormats.PNG;
previewOptions.PageNumbers = new int[] {2,3};
previewOptions.Resolution = new PreviewResolution()
{
HorizontalResolution = 300,
VerticalResolution = 300
};
comparer.Source.GeneratePreview(previewOptions);
}
วิธีการรับอัปเดต
You can get the latest version from NuGet or download it directly from the GroupDocs website.
NuGet
GroupDocs.Comparison for .NET 26.1
ดาวน์โหลดโดยตรง
Download assemblies for both .NET and .NET Framework from the GroupDocs.Comparison for .NET 26.1 page.