浏览我们的产品 Toggle navigation
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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
安装此包在 nuget.org 上提供,可通过包管理器控制台执行以下命令安装:NuGet\Install-Package GroupDocs.Assembly-Cloud
此包在 nuget.org 上提供,可通过包管理器控制台执行以下命令安装:
NuGet\Install-Package GroupDocs.Assembly-Cloud
要使用 GroupDocs.Assembly Cloud,请在 GroupDocs.Cloud 仪表板 注册并获取 Client ID 和 Client Secret。
使用以下代码开始使用 GroupDocs.Assembly Cloud SDK for .NET。
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);
更多细节见 BaseTestContext.cs。
此示例用 JSON 报表数据填充模板并返回 PDF。
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);
更多细节见 AssemblyApiTests.cs。
GroupDocs.Assembly Cloud .NET SDK 仓库包含 SDK 及其测试。没有单独的示例仓库。
Settings/servercreds.json
AppSid
AppKey
BaseUrl
GroupDocs.Assembly.Cloud.Sdk.Test
更多细节请参阅 Getting Started。
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
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