Ürünlerimize göz atın

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.


Product Docs Swagger Examples Blog Support Dashboard

Kurulum

Paket npmjs.com adresinde mevcuttur ve aşağıdaki komut çalıştırılarak npm ile kurulabilir:

npm install groupdocs-signature-cloud

NPM Version NPM Downloads NPM-GroupDocsCloud


Gereksinimler

Bağımlılıklar

SDK aşağıdaki paketleri gerektirir:

PackageConstraint
axios^1.21.1
form-data*
jsonwebtoken9.0.1
qs^6.17.1

Hızlı Başlangıç

API kimlik bilgilerinizi alın

GroupDocs.Signature Cloud kullanmak için GroupDocs.Cloud Dashboard adresinden kaydolun ve Client ID ile Client Secret değerlerinizi alın.

API’yi başlatın

GroupDocs.Signature Cloud SDK for Node.js kullanmaya başlamak için aşağıdaki kodu kullanın.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const signApi = signature_cloud.SignApi.fromConfig(config);

Tam örneği RunExamples.js içinde görün.

Belgeyi metinle imzalayın

Başlatıldıktan sonra, bir Word belgesine metin imzası eklemek için bu temel örneği kullanın.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const signApi = signature_cloud.SignApi.fromConfig(config);

(async () => {
    let fileInfo = new signature_cloud.FileInfo();
    fileInfo.filePath = "signaturedocs/one-page.docx";

    let opts = new signature_cloud.SignTextOptions();
    opts.signatureType = signature_cloud.OptionsBase.SignatureTypeEnum.Text;
    opts.text = "GroupDocs.Signature Cloud";
    opts.left = 100;
    opts.top = 100;
    opts.width = 100;
    opts.height = 100;
    opts.page = 1;

    let settings = new signature_cloud.SignSettings();
    settings.fileInfo = fileInfo;
    settings.options = [opts];
    settings.saveOptions = new signature_cloud.SaveOptions();
    settings.saveOptions.outputFilePath = "signaturedocs/signedText_one-page.docx";

    let request = new signature_cloud.CreateSignaturesRequest(settings);
    let response = await signApi.createSignatures(request);
    console.log("Expected response type is SignResult: DownloadUrl = " + response.downloadUrl);
})();

Tam örneği TextSignature.js içinde görün.

Belgeyi görüntüyle imzalayın

Bu örnek bir Word belgesinin ilk sayfasına görüntü imzası yerleştirir.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const signApi = signature_cloud.SignApi.fromConfig(config);

(async () => {
    let fileInfo = new signature_cloud.FileInfo();
    fileInfo.filePath = "signaturedocs/one-page.docx";

    let opts = new signature_cloud.SignImageOptions();
    opts.signatureType = signature_cloud.OptionsBase.SignatureTypeEnum.Image;
    opts.imageFilePath = "signaturedocs/signature.jpg";
    opts.left = 100;
    opts.top = 100;
    opts.width = 200;
    opts.height = 100;
    opts.page = 1;

    let settings = new signature_cloud.SignSettings();
    settings.fileInfo = fileInfo;
    settings.options = [opts];
    settings.saveOptions = new signature_cloud.SaveOptions();
    settings.saveOptions.outputFilePath = "signaturedocs/signedImage_one-page.docx";

    let request = new signature_cloud.CreateSignaturesRequest(settings);
    let response = await signApi.createSignatures(request);
    console.log("Expected response type is SignResult: DownloadUrl = " + response.downloadUrl);
})();

Tam örneği ImageSignature.js içinde görün.

Barkod imzası arayın

Bu örnek imzalanmış bir belgede barkod imzalarını arar.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const signApi = signature_cloud.SignApi.fromConfig(config);

(async () => {
    let fileInfo = new signature_cloud.FileInfo();
    fileInfo.filePath = "signaturedocs/signedBarcodeOne_page.docx";

    let opts = new signature_cloud.SearchBarcodeOptions();
    opts.signatureType = signature_cloud.OptionsBase.SignatureTypeEnum.Barcode;
    opts.matchType = signature_cloud.SearchBarcodeOptions.MatchTypeEnum.Contains;
    opts.allPages = true;

    let settings = new signature_cloud.SearchSettings();
    settings.fileInfo = fileInfo;
    settings.options = [opts];

    let request = new signature_cloud.SearchSignaturesRequest(settings);
    let response = await signApi.searchSignatures(request);
    console.log("Expected response type is SearchResult : Length = " + response.signatures.length);
})();

Tam örneği SearchBarcode.js içinde görün.

Metin imzasını doğrulayın

Bu örnek, bir belgenin beklenen metin imzasını içerdiğini denetler.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const signApi = signature_cloud.SignApi.fromConfig(config);

(async () => {
    let fileInfo = new signature_cloud.FileInfo();
    fileInfo.filePath = "signaturedocs/signedText_one-page.docx";

    let opts = new signature_cloud.VerifyTextOptions();
    opts.signatureType = signature_cloud.OptionsBase.SignatureTypeEnum.Text;
    opts.text = "GroupDocs.Signature Cloud";
    opts.matchType = signature_cloud.VerifyBarcodeOptions.MatchTypeEnum.Contains;
    opts.page = 1;
    opts.allPages = true;

    let settings = new signature_cloud.VerifySettings();
    settings.fileInfo = fileInfo;
    settings.options = [opts];

    let request = new signature_cloud.VerifySignaturesRequest(settings);
    let response = await signApi.verifySignatures(request);
    console.log("Expected response type is VerifyResult : IsSuccess = " + response.isSuccess);
})();

Tam örneği VerifyText.js içinde görün.

Desteklenen imza biçimlerini alın

API’nin imzalayabileceği belge biçimlerini alın.

"use strict";
const signature_cloud = require("groupdocs-signature-cloud");

const clientId = "YourClientId";
const clientSecret = "YourClientSecret";

const config = new signature_cloud.Configuration(clientId, clientSecret);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const infoApi = signature_cloud.InfoApi.fromConfig(config);

(async () => {
    let response = await infoApi.getSupportedFileFormats();
    console.log("Formats count: " + response.formats.length);
})();

Tam örneği GetSupportedFormats.js içinde görün.

GitHub’daki örnekler

GroupDocs.Signature Cloud Node.js Examples deposu şunları kapsayan çalıştırmaya hazır örnekler içerir:

CategoryExamples
SignMetin, görüntü, barkod, QR kod, dijital, damga ve koleksiyon imzaları
Search and VerifyBarkod, QR kod, dijital, metin ve koleksiyon imzalarını arama ve doğrulama
Update and DeleteBarkod ve QR kod imzalarını güncelleme veya silme
Basic UsageBelge bilgileri, önizleme, desteklenen biçimler, barkodlar ve QR kodlar

Örnekleri çalıştırma

  1. örnek deposunu klonlayın veya indirin
  2. Examples/RunExamples.js dosyasını düzenleyin ve clientId ile clientSecret değerlerini ayarlayın
  3. Examples dizinine gidin
  4. npm install komutunu çalıştırın
  5. npm update komutunu çalıştırın
  6. npm run-script start komutunu çalıştırın

Ayrıntılar için Getting Started sayfasını ziyaret edin.


Product Docs Swagger Examples Blog Support Dashboard


Tags

eSignature API | Node.js Cloud API | GroupDocs.Signature Cloud | REST API | Digital Signature | Text Signature | Barcode Signature | QR-Code Signature | Document Signing | Signature Verification | Signature Search | Cloud Storage Integration | File Operations | Folder Operations | Secure API Access | PDF Signing | Word Document Signing | Image Signature | Stamp Signature | Cross-platform API | Document Security | Electronic Signature



 Türkçe