Wordize for .NET to profesjonalne rozwiązanie do automatyzacji scalania dokumentów JPG w korporacyjnych przepływach pracy dokumentów. Klasa Merger umożliwia programistom C# programowe łączenie plików JPG do przygotowania raportów, tworzenia dokumentacji i wsparcia prawnego transakcji.
Główne funkcjonalności:Przetestuj możliwości programowego scalania dokumentów JPG przy użyciu interaktywnego demo online przedstawionego na tej stronie. Prześlij kilka plików JPG, określ parametry ich łączenia, wykonaj operację i pobierz skonsolidowany dokument do weryfikacji. Przedstawiony fragment kodu C# jest w pełni gotowy do użycia w Twoim projekcie .NET.
using Wordize.Merging;
using Wordize.Saving;
ImageSaveOptions saveOptions = new ImageSaveOptions(SaveFormat.Jpg);
saveOptions.PageLayout = MultiPageLayout.Vertical(10);
Merger.Create()
.From("Input1.jpg")
.From("Input2.jpg")
.To("Output.jpg", saveOptions)
.Execute();
using Wordize.Merging;
Merger.Merge("{{output}}",
[
"{{input1}}",
"{{input2}}"
]);
using Wordize.Merging;
using Wordize.Saving;
var imageStreams = Merger.MergeToImages(
["{{input1}}", "{{input2}}"],
new ImageSaveOptions(SaveFormat.{{saveFormat}}) { PageLayout = MultiPageLayout.Vertical(10) },
MergeFormatMode.KeepSourceFormatting
);
using var file = File.Create($"{{output}}");
imageStreams[0].Position = 0;
imageStreams[0].CopyTo(file);
using Wordize.Merging;
using Wordize.Saving;
ImageSaveOptions saveOptions = new ImageSaveOptions(SaveFormat.{{saveFormat}});
saveOptions.PageLayout = MultiPageLayout.Vertical(10);
Merger.Create()
.From("{{input1}}")
.From("{{input2}}")
.To("{{output}}", saveOptions)
.Execute();
using Wordize.Merging;
Merger.Create()
.From("{{input1}}")
.From("{{input2}}")
.To("{{output}}", SaveFormat.{{saveFormat}})
.Execute();