GroupDocs.Signature 概述

{index-content-python-net.overview_description}

Illustration signature

{index-content-python-net.overview_feature_1.title}

{index-content-python-net.overview_feature_1.description}

{index-content-python-net.overview_feature_2.title}

{index-content-python-net.overview_feature_2.description}

{index-content-python-net.overview_feature_3.title}

{index-content-python-net.overview_feature_3.description}

平台独立性

{index-content-python-net.platforms_description}

Amazon
Docker
Azure
VS Code
ReSharper
macOS
Linux
NuGet

支持的文件格式

{index-content-python-net.formats_description}

微软Office格式

  • Word: DOCX, DOC, DOCM, DOT, DOTX, DOTM, RTF
  • Excel: XLSX, XLS, XLSM, XLSB, XLTM, XLT, XLTM, XLTX, XLAM, SXC, SpreadsheetML
  • PowerPoint: PPT, PPTX, PPS, PPSX, PPSM, POT, POTM, POTX, PPTM

图像和其他格式

  • 便携的: PDF
  • 图片: JPG, BMP, PNG, TIFF, GIF, DICOM, WEBP
  • 其他办公形式: ODT, OTT, OTS, ODS, ODP, OTP, ODG

其他格式

  • 网络: HTML, MHTML
  • 档案: ZIP, TAR, 7Z
  • 证书: PFX

{index-content-python-net.features.title}

{index-content-python-net.features.description}

Feature icon

{index-content-python-net.features.feature_1.title}

{index-content-python-net.features.feature_1.content}

Feature icon

{index-content-python-net.features.feature_2.title}

{index-content-python-net.features.feature_2.content}

Feature icon

{index-content-python-net.features.feature_3.title}

{index-content-python-net.features.feature_3.content}

Feature icon

{index-content-python-net.features.feature_4.title}

{index-content-python-net.features.feature_4.content}

Feature icon

{index-content-python-net.features.feature_5.title}

{index-content-python-net.features.feature_5.content}

Feature icon

{index-content-python-net.features.feature_6.title}

{index-content-python-net.features.feature_6.content}

Feature icon

{index-content-python-net.features.feature_7.title}

{index-content-python-net.features.feature_7.content}

Feature icon

{index-content-python-net.features.feature_8.title}

{index-content-python-net.features.feature_8.content}

Feature icon

{index-content-python-net.features.feature_9.title}

{index-content-python-net.features.feature_9.content}

代码示例

{index-content-python-net.code_samples_description}

{index-content-python-net.code_title_sample_1}

{index-content-python-net.code_samples_sample_1_content_1} {index-content-python-net.code_samples_sample_1_content_2}

如何将二维码转为 PDF。

import groupdocs.signature as sg

def run():

    # 加载要签名的文档
    with sg.Signature('file_to_sign.pdf') as signature:

        # 使用预定义文本创建 QR 码选项
        options = sg.QrCodeSignOptions('The document is approved by John Smith')

        # 配置二维码编码类型以及在页面中的位置
        options.EncodeType = sg.QrCodeTypes.QR
        options.Left = 100
        options.Top = 100
    
        # 签署文档并将其保存为结果文件
        signature.Sign('file_with_QR.pdf', options)

{index-content-python-net.code_title_sample_2}

{index-content-python-net.code_samples_sample_2_content_1} {index-content-python-net.code_samples_sample_2_content_2}

以下是如何确保文档完整性。

import groupdocs.signature as sg

def run():

    # 加载要进行数字签名的文档
    with sg.Signature('file_to_sign.docx') as signature:

        # 指定数字签名选项并提供证书文件的路径
        options = sg.DigitalSignOptions('certificate.pfx')

        # 设置证书密码
        options.Password = '1234567890'

        # 签署文档并将其保存到所需路径
        signature.Sign('digitally_signed.docx', options)

临时许可提示

1
使用您的工作电子邮件地址进行注册。不允许使用免费邮件服务。
2
使用第二步中的获取临时许可证按钮。
 中国人