.NET Cloud REST API for eSigning Documents
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial
Use this REST API to search, verify & create signatures of 6 different types for a lot of file formats from within your C#, ASP.NET, & other .NET cloud apps.
Cloud Document Signing Features
- Supports the application of several types of document signatures.
- Specify pages (even, odd, specific, etc.) to apply the signature on.
- Configure page padding options.
- Specify font, color, alignment & other appearance settings for the signature.
- Apply crop settings for the signature background.
- Setting to repeat the signature string to fill the specified area.
- Supports
CryptoApi
& XmlDsig
methods of digital signatures.
- Configure alignment of text string along with the barcode type signature.
- Support for various types of brushes to perform signature formatting.
- Apply signature to password-protected documents.
- Perform document signature verification.
- Get or set the time at which the document was digitally signed.
- Option to search for some type of signatures from the document.
The following file formats are supported for the image, stamp and text type of signatures:
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLT, XLTX, XLTM
Microsoft PowerPoint: PPT, PPTX, PPTM, PPS, PPSM, PPSX, POT, POTX, POTM
OpenOffice: ODT, OTT, ODS, ODP
Image: JPG, PNG, BMP, GIF, TIFF, CDR
Rich Text: RTF
Adobe Acrobat: PDF
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLT, XLTX, XLTM
Microsoft PowerPoint: PPTM, PPTX
OpenOffice: ODT
Adobe Acrobat: PDF
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLT, XLTX, XLTM
Microsoft PowerPoint: POT, POTM, PPSX, PPTX
OpenOffice: ODT, ODP, ODS, OTT
Image: JPG, PNG, BMP, GIF, TIFF, CDR
Rich Text: RTF
Adobe Acrobat: PDF
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSM, XLT, XLTX, XLTM
OpenOffice: OTT
Image: JPG, PNG, BMP, GIF, TIFF, CDR
Rich Text: RTF
Adobe Acrobat: PDF
Supported Signature Types
- Text
- Image
- Barcode
- QR-code
- Digital
- Stamp
Get Started
You do not need to install anything to get started with GroupDocs.Signature Cloud SDK for .Net. Just create an account at GroupDocs for Cloud and get your application information.
Simply execute Install-Package GroupDocs.Signature-Cloud
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Signature assembly in your project. If you already have GroupDocs.Signature Cloud SDK for .Net and want to upgrade it, please execute Update-Package GroupDocs.Signature-Cloud
to get the latest version.
Please check the GitHub Repository for common usage scenarios.
Sign DOCX
Document with Image Signature using C# Code
// For complete examples and data files, please go to https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-dotnet-samples
// Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
string MyClientSecret = "";
string MyClientId = "";
var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new SignApi(configuration);
// Sign options
var options = new SignImageOptions {
SignatureType = SignatureTypeEnum.Image,
ImageFilePath = "signature.jpg",
Left = 100,
Top = 100,
Width = 200,
Height = 100,
LocationMeasureType = SignImageOptions.LocationMeasureTypeEnum.Pixels,
SizeMeasureType = SignImageOptions.SizeMeasureTypeEnum.Pixels,
RotationAngle = 0,
HorizontalAlignment = SignImageOptions.HorizontalAlignmentEnum.None,
VerticalAlignment = SignImageOptions.VerticalAlignmentEnum.None,
Margin = new Padding {
All = 5
},
MarginMeasureType = SignImageOptions.MarginMeasureTypeEnum.Pixels,
Page = 1,
AllPages = true,
PagesSetup = new PagesSetup {
EvenPages = false,
FirstPage = true,
LastPage = false,
OddPages = false,
PageNumbers = new List < int ? > {
1
}
}
};
// Sign settings.
var signSettings = new SignSettings {
FileInfo = new FileInfo {
FilePath = "one-page.docx"
},
SaveOptions = new SaveOptions {
OutputFilePath = "signedImage_one-page.docx", SaveFormat = "docx"
},
Options = new List < SignOptions > {
options
}
};
// Create request.
var request = new CreateSignaturesRequest(signSettings);
// Call api method with request.
var response = apiInstance.CreateSignatures(request);
Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial