Ü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 nuget.org adresinde kullanılabilir ve Paket Yöneticisi Konsolu üzerinden şu komutla yüklenebilir:

NuGet\Install-Package GroupDocs.Assembly-Cloud

Version NuGet NuGet-GroupDocsCloud


Gereksinimler

  • .NET Framework 2.0 veya .NET Standard 2.0
  • NuGet
  • .NET Framework 2.0 hedeflenirken System.Web
  • GroupDocs Cloud kimlik bilgileri — panodaki Client ID and Client Secret

Hızlı başlangıç

API kimlik bilgilerinizi alın

GroupDocs.Assembly Cloud kullanmak için GroupDocs.Cloud Panosu üzerinde kaydolun ve Client ID ile Client Secret değerlerini alın.

API’yi başlatma

GroupDocs.Assembly Cloud SDK for .NET kullanmaya başlamak için aşağıdaki kodu kullanın.

using GroupDocs.Assembly.Cloud.Sdk;
using GroupDocs.Assembly.Cloud.Sdk.Model;
using GroupDocs.Assembly.Cloud.Sdk.Model.Requests;

var configuration = new Configuration
{
    ApiBaseUrl = "https://api.groupdocs.cloud",
    AppSid = "YourClientId",
    AppKey = "YourClientSecret"
};

var assemblyApi = new AssemblyApi(configuration);

Daha fazla ayrıntı için BaseTestContext.cs dosyasına bakın.

Şablonu PDF olarak birleştirme

Bu örnek bir şablonu JSON rapor verileriyle doldurur ve PDF’yi döndürür.

using System.IO;
using GroupDocs.Assembly.Cloud.Sdk;
using GroupDocs.Assembly.Cloud.Sdk.Model;
using GroupDocs.Assembly.Cloud.Sdk.Model.Requests;

var configuration = new Configuration
{
    ApiBaseUrl = "https://api.groupdocs.cloud",
    AppSid = "YourClientId",
    AppKey = "YourClientSecret"
};
var assemblyApi = new AssemblyApi(configuration);

var data = File.ReadAllText("TableData.json");
var saveOptions = new AssembleOptions
{
    SaveFormat = "pdf",
    ReportData = data,
    TemplateFileInfo = new TemplateFileInfo { FilePath = "GroupDocs.Assembly/TableFeatures.odt" }
};

var result = assemblyApi.AssembleDocument(new AssembleDocumentRequest(saveOptions));
Console.WriteLine("Assembled document: " + result.Length);

Daha fazla ayrıntı için AssemblyApiTests.cs dosyasına bakın.

GitHub’daki örnekler

GroupDocs.Assembly Cloud .NET SDK deposu SDK’yı ve testlerini içerir. Ayrı bir örnek deposu yoktur.

Örnekleri çalıştırma

  1. SDK deposu deposunu klonlayın veya indirin
  2. Settings/servercreds.json dosyasını düzenleyin ve AppSid, AppKey ve BaseUrl değerlerini ayarlayın
  3. Çözümü Visual Studio’da açın
  4. GroupDocs.Assembly.Cloud.Sdk.Test içindeki testleri çalıştırın

Daha fazla ayrıntı için Getting Started sayfasını ziyaret edin.


Product Docs Swagger Examples Blog Support Dashboard


Etiketler

Document Automation | .NET Cloud API | REST API | Document Generation | Template-Driven | Dynamic Data Merging | Rich Formatting | Conditional Content Control | List Automation | Table Automation | Barcode Generation | Hyperlink Insertion | Bookmark Creation | Checkbox Manipulation | Mail Merge | Formula Calculations | Data Filtering | Data Sorting | Data Grouping | Data Formatting | Dynamic List Generation | Dynamic Table Generation | Chart Generation | Chart Customization | Cross-Platform SDKs | Comprehensive Documentation | Cloud-Based Flexibility | JWT Authentication | Microsoft Word | Microsoft Excel | Microsoft PowerPoint | OpenOffice | Email Formats | Web Document Formats | Barcode Types | QR Codes | DataMatrix | EAN Barcodes | UPCA | ISBN Barcodes | REST API


 Türkçe