GroupDocs.Watermark Bulut Ürün Ailesi

Bulut Geliştiricileri için iyi haber! GroupDocs, Watermark Cloud API’yi başlattı. Bu, GroupDocs’u filigran çözümü geliştirir. .NET ve Java geliştiricileri için şirket içi API’ler ve her tür kullanıcı için çapraz platform çevrimiçi uygulamalar olarak zaten mevcuttur. SDK’larla birlikte Filigran Bulutu API’si, geliştiricilerin üçüncü taraf araçlar tarafından otomatik olarak kaldırılması zor olan filigranlarla önemli belgeleri güvence altına almasına olanak tanır.

GroupDocs.Watermark Cloud, belgeleri güvence altına almak ve filigranları yönetmek için tüm ana özellikleri sağlayan REST API’sidir. Önemli özelliklerden bazıları; resim veya metin filigranları ekleyin, önceden eklenmiş filigranları kaldırın, desteklenen tüm biçimlerde filigranları değiştirin veya arayın.

Desteklenen Belge Türleri

İşte şu anda desteklenen belge biçimleri. Desteklenen belge biçimlerinden herhangi biri için kullanılabilen belirli özellik hakkında eksiksiz bir fikir sahibi olmak için GroupDocs.Watermark Cloud için belgeleri istediğiniz zaman ziyaret edebilirsiniz.

SDK’lar ve Örnekler

GroupDocs, filigran REST API’sinin yanı sıra, gereksinimlere göre kendi kendine özelleştirilebilen açık kaynaklı SDK’lar da sağlar. Geliştiriciler, istekte bulunma ve yanıtları işleme gibi alt düzey ayrıntılarla uğraşmadan, geliştirmeyi hızlandırmak için ilgili SDK’yı kullanabilirler. Şu anda, örneklerle birlikte aşağıda belirtilen SDK’ları başlattık. Bu SDK’lar ve örnekler ayrıca GitHub’da mevcuttur:

İşte daha iyi bir fikir edinmek için bazı örnekler. Daha fazla örnek için [dokümantasyon][10] sayfalarını veya ilgili [GitHub deposu][11] ziyaret edebilirsiniz.

Java’da Word Belgesine Görüntü Filigranı Ekleme

Burada, [GroupDocs.Watermark Cloud SDK for Java][12] kullanarak bir Word belgesine filigran eklemek için bir Java kodu örneğini görebilirsiniz.

// Eksiksiz örnekler ve veri dosyaları için lütfen https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-java-samples adresine gidin.
String MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
   
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
WatermarkApi apiInstance = new WatermarkApi(configuration);
 
WatermarkOptions options = new WatermarkOptions();
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("documents/sample.docx");
options.setFileInfo(fileInfo);
 
WatermarkDetails watermarkDetails = new WatermarkDetails();
 
ImageWatermarkOptions imageWatermarkOptions = new ImageWatermarkOptions();
FileInfo image = new FileInfo();
image.setFilePath("watermark_images/sample_watermark.png");
imageWatermarkOptions.setImage(image);
watermarkDetails.setImageWatermarkOptions(imageWatermarkOptions);
 
List<WatermarkDetails> watermarkDetailsList = new ArrayList<WatermarkDetails>();
watermarkDetailsList.add(watermarkDetails);
options.setWatermarkDetails(watermarkDetailsList);
 
AddRequest request = new AddRequest(options);
WatermarkResult response = apiInstance.add(request);

C# dilinde bir PDF belgesinden Filigranı Kaldırma

Aşağıda, CSharp’ta [GroupDocs.Watermark Cloud SDK for .NET][13] kullanarak herhangi bir filigranı bir PDF belgesinden nasıl hızlı bir şekilde kaldırabileceğinizi gösteren kod parçacığı bulunmaktadır.

// For complete examples and data files, please go to https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-dotnet-samples
string MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
string MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
   
var configuration = new Configuration(MyAppSid, MyAppKey);
var apiInstance = new InfoApi(configuration);
var fileInfo = new FileInfo
{
    FilePath = "with_watermarks/sample.pdf",
};
var options = new RemoveOptions
{
    FileInfo = fileInfo,
    ImageSearchCriteria = new ImageSearchCriteria
    {
        ImageFileInfo = new FileInfo { FilePath = "watermark_images/sample_watermark.png" }
    },
    TextSearchCriteria = new TextSearchCriteria
    {
        SearchText = "Watermark text"
    },
    OutputFolder = "removed_watermarks"
};
var request = new RemoveRequest(options);
var response = apiInstance.Remove(request);

Java kullanarak bir PDF belgesindeki Filigranı Değiştirme

Tanımlanan filigran özelliklerini nasıl değiştirebileceğinizi gösteren Java örneği. Filigran resmi, yazı tipi veya yazı tipi, boyutu, rengi gibi metin görünümü seçenekleri kolayca değiştirilebilir.

// Eksiksiz örnekler ve veri dosyaları için lütfen https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-java-samples adresine gidin.
String MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
     
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
WatermarkApi apiInstance = new WatermarkApi(configuration);
 
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("with_watermarks/sample.pdf");
ReplaceOptions options = new ReplaceOptions();
options.setFileInfo(fileInfo);
 
ImageSearchCriteria imageSearchCriteria = new ImageSearchCriteria();
FileInfo imageFileInfo = new FileInfo();
imageFileInfo.setFilePath("watermark_images/sample_watermark.png");
imageSearchCriteria.setImageFileInfo(imageFileInfo);
options.setImageSearchCriteria(imageSearchCriteria);
 
TextSearchCriteria textSearchCriteria = new TextSearchCriteria();
textSearchCriteria.setSearchText("Watermark text");
options.setTextSearchCriteria(textSearchCriteria);
 
ReplaceTextOptions replaceTextOptions = new ReplaceTextOptions();
replaceTextOptions.setText("New watermark text");
options.setReplaceTextOptions(replaceTextOptions);
 
ReplaceImageOptions replaceImageOptions = new ReplaceImageOptions();
FileInfo replaceImageFileInfo = new FileInfo();
replaceImageFileInfo.setFilePath("images/sample.jpg");
replaceImageOptions.setImage(replaceImageFileInfo);
options.setReplaceImageOptions(replaceImageOptions);
 
options.setOutputFolder("found_image_watermarks");
 
ReplaceRequest request = new ReplaceRequest(options);
ReplaceResult response = apiInstance.replace(request);

C# kullanarak Belgelerde Filigran Arama

REST API, hedef belgedeki olası resim ve metin filigranlarını bulmak için zengin bir dizi arama kriteri sağlar.

// For complete examples and data files, please go to https://github.com/groupdocs-parser-cloud/groupdocs-parser-cloud-dotnet-samples
string MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
string MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
   
var configuration = new Configuration(MyAppSid, MyAppKey);
var apiInstance = new InfoApi(configuration);
var fileInfo = new FileInfo
{
    FilePath = "with_watermarks/sample.pdf"
};
var options = new SearchOptions
{
    FileInfo = fileInfo,
    ImageSearchCriteria = new ImageSearchCriteria
    {
        ImageFileInfo = new FileInfo { FilePath = "watermark_images/sample_watermark.png" }
    },
    TextSearchCriteria = new TextSearchCriteria
    {
        SearchText = "Watermark text"
    },
    SaveFoundImages = true,
    OutputFolder = "found_image_watermarks"
};
var request = new SearchRequest(options);
var response = apiInstance.Search(request);

Kaynaklar

İlgili kaynaklara bazı önemli bağlantılar burada verilmiştir. O zaman bile, herhangi bir zorluk veya kafa karışıklığı hissederseniz [forumdan][14] bizimle serbestçe iletişime geçebilirsiniz.

[Filigranlar][15] için sizi burada görmek güzel.

[5]: https://wiki.fileformat.com/image/jpeg/" target="_blank" rel=“noreferrer noopener” aria-label=" (opens in a new tab [6]: https://wiki.fileformat.com/view/pdf/" target="_blank" rel=“noreferrer noopener” aria-label=“PDF (opens in a new tab [7]: https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-dotnet-samples" target="_blank” rel=“noreferrer noopener” aria-label=".NET Examples (opens in a new tab [8]: https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-java" target="_blank" rel=“noreferrer noopener” aria-label=“Java SDK (opens in a new tab [9]: https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-java-samples" target="_blank” rel=“noreferrer noopener” aria-label=“Java Examples (opens in a new tab [10]: https://docs.groupdocs.cloud/watermark [11]: https://github.com/groupdocs-watermark-cloud [12]: https://products.groupdocs.cloud/watermark/java [13]: https://products.groupdocs.cloud/watermark/net [14]: https://forum.groupdocs.cloud/c/watermark [15]: https://en.wikipedia.org/wiki/Watermark