GroupDocs.Signature for .NET API 功能包含大量使用电子签名处理按需文档格式的方法。支持广泛的电子签名,如文本、图像、数字证书、条形码、二维码、印章或元数据。客户可以在 PDF、MS Word 文档、MS Excel 工作簿、MS PowerPoint 演示文稿、Adobe Photoshop 文件和各种图像格式中添加、删除、编辑、验证或搜索数字签名。提供了许多有用的功能和设置。
GroupDocs.Signature for .NET 包括有用的功能,例如更新放置在 Docx 文档中的 Text 签名。无需额外代码即可更改签名功能。
所有主要平台和操作系统都支持 GroupDocs.Signature for .NET。在执行以下代码之前,请确保您的系统上安装了以下先决条件。
// Set up input Docx file
string filePath = "input.docx";
// Instantiate Signature for input file
using (GroupDocs.Signature.Signature signature = new GroupDocs.Signature.Signature(filePath))
{
// Id of signature which is supposed to be updated
// such Id might be got as a result of search operation
string id = "ff988ab1-7403-4c8d-8db7-f2a56b9f8530";
// provide signature features to update
// set up particular signature id
TextSignature signatureToUpdate = new TextSignature(id)
{
// specify signature width
Width = 130,
// specify signature height
Height = 20,
// set left position
Left = 40,
// set top position
Top = 50,
// set up new text
Text = "Mr. John Smith"
};
// update signature
bool updateResult = signature.Update(signatureToUpdate);
// process updation result
if (updateResult)
{
Console.WriteLine("Signature was updated successfully!");
}
}
立即访问 GroupDocs.Signature App 网站编辑 Docx 文档的各种电子签名。
无需下载 API
无需编写任何代码
只需上传源文件
获取下载链接以保存文件
“编辑以各种文档格式放置的数字签名。无需额外代码即可更新签名数据。”
(Portable Document Format)
(Microsoft Word Binary Format)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(Rich Text Format)
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Comma Seperated Values)
(OpenDocument Spreadsheet)
(OpenDocument Spreadsheet Template)
(Excel Template)
(Excel Macro-Enabled Template)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(OpenDocument Presentation Format)
(OpenDocument Standard Format)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Macro-enabled Presentation File)
(Macro-enabled Slide Show)