.NET Cloud REST API to Watermark Documents
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
Use this REST API to enable your cloud-based C#, ASP.NET, & other .NET apps to search, edit, remove & add watermarks to documents of 40+ different file formats.
Cloud Document Watermarking Features
- Add text or image watermarks to documents of supported formats.
- Create watermarks for specific pages only.
- Specify the physical attributes of the watermark, e.g., size, font, color, etc.
- Search for the collection of the image or text-based watermarks inside a document.
- Edit properties of the existing editable watermarks.
- Remove watermarks from specific pages or remove specific watermarks from the document.
Word Processing Format: DOC, DOCX, DOCM, DOT, DOTM, DOTX, ODT, RTF
Spreadsheet Format: XLS, XLT, XLSX, XLSM, XLTX, XLTM
Presentation Format: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POTX, POTM
Microsoft Visio: VSD, VDX, VSDX, VSTX, VSS, VSSX, VSDM, VSSM, VSTM, VTX, VSX
Fixed Layout: PDF
Image: BMP, GIF, JPG, JPEG, JPE, JP2, PNG, TIFF, WEBP
Get Started
You do not need to install anything to get started with GroupDocs.Watermark Cloud SDK for .Net. Just create an account at GroupDocs for Cloud and get your application information.
Simply execute Install-Package GroupDocs.Watermark-Cloud
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Watermark assembly in your project. If you already have GroupDocs.Watermark Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Watermark-Cloud
to get the latest version.
Please check the GitHub Repository for common usage scenarios.
Add Text Watermarks to a DOCX
File using C# Code
// For complete examples and data files, please go to https://github.com/groupdocs-watermark-cloud/groupdocs-watermark-cloud-dotnet-samples
// Get AppKey and AppSID from https://dashboard.groupdocs.cloud
string MyAppKey = "";
string MyAppSid = "";
var configuration = new Configuration(MyAppSid, MyAppKey);
var apiInstance = new ParseApi(configuration);
var fileInfo = new FileInfo {
FilePath = "documents/sample.docx"
};
var options = new WatermarkOptions() {
FileInfo = fileInfo,
WatermarkDetails = new List < WatermarkDetails > {
new WatermarkDetails {
TextWatermarkOptions = new TextWatermarkOptions {
Text = "New watermark text",
FontFamilyName = "Arial",
FontSize = 12 d,
}
}
}
};
var request = new AddRequest(options);
var response = apiInstance.Add(request);
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial