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.

Installation
Le package est disponible sur nuget.org et peut être installé via la console du gestionnaire de packages en exécutant la commande suivante :
PM> NuGet\Install-Package GroupDocs.Conversion-Cloud

Démarrage rapide
Obtenez vos identifiants API
Pour utiliser GroupDocs.Conversion Cloud, inscrivez-vous sur le GroupDocs.Cloud Dashboard et obtenez votre Client ID et Client Secret.
Initialiser l’API
Utilisez le code suivant pour commencer à utiliser le SDK GroupDocs.Conversion Cloud pour .NET :
// Initialize the API instance
var configuration = new Configuration
{
ClientId = "YourClientId",
ClientSecret = "YourClientSecret"
};
var conversionApi = new ConversionApi(configuration);
Convertir un document
Une fois initialisé, utilisez cet exemple de base pour convertir un document :
// Set up conversion settings
var convertSettings = new ConvertSettings
{
FilePath = "input.docx",
Format = "pdf"
};
// Convert the document
var response = conversionApi.ConvertDocument(convertSettings);
// Save the converted file
File.WriteAllBytes("output.pdf", response.File);
Avec ce guide de démarrage rapide, vous êtes prêt à commencer à convertir des documents avec GroupDocs.Conversion Cloud dans vos applications .NET. Pour plus de détails, consultez la documentation.
Ce code permet aux développeurs de convertir des documents entre différents formats par programmation, éliminant les conversions manuelles. Il prend en charge plus de 50 formats de fichiers, ce qui le rend idéal pour les développeurs d’applications nécessitant une prise en charge multi-format.
// Initialize the API instance
var conversionApi = new ConversionApi(new Configuration { ClientId = "YourClientId", ClientSecret = "YourClientSecret" });
// Set up the conversion settings: source format, target format, etc.
var convertSettings = new ConvertSettings
{
// Specify input file path and desired output format
FilePath = "input.docx",
Format = "pdf" // Convert DOCX to PDF
// Optional: specify page range, font substitution, etc.
};
// Execute the conversion and retrieve the converted file
var response = conversionApi.ConvertDocument(convertSettings);
// Save the converted document to the specified location
File.WriteAllBytes("output.pdf", response.File);
Convertir des pages spécifiques d’un document Cloud API
Cet exemple montre comment les développeurs peuvent convertir uniquement des pages spécifiques, économisant du temps de traitement et réduisant la taille des fichiers lorsque seule une partie du document est nécessaire.
// Initialize the API instance with authentication credentials
var conversionApi = new ConversionApi(new Configuration { ClientId = "YourClientId", ClientSecret = "YourClientSecret" });
// Configure the settings to convert specific pages (e.g., pages 1 to 3)
var convertSettings = new ConvertSettings
{
FilePath = "input.pptx",
Format = "pdf", // Convert PPTX to PDF
// Specify the pages to convert (e.g., first 3 pages)
Pages = new List<int> { 1, 2, 3 }
};
// Execute the conversion
var response = conversionApi.ConvertDocument(convertSettings);
// Save the resulting file
File.WriteAllBytes("output_pages1-3.pdf", response.File);
Cet extrait met en évidence la possibilité de convertir des documents même lorsque l’extension du fichier est inconnue, ce qui est particulièrement utile pour gérer les fichiers téléchargés par les utilisateurs dont les formats ne sont pas clairement définis.
// Initialize the Conversion API with credentials
var conversionApi = new ConversionApi(new Configuration { ClientId = "YourClientId", ClientSecret = "YourClientSecret" });
// Configure settings for auto-detecting format without file extension
var convertSettings = new ConvertSettings
{
FilePath = "input_file", // No file extension required
Format = "pdf" // Desired output format (e.g., PDF)
};
// Execute the conversion
var response = conversionApi.ConvertDocument(convertSettings);
// Save the converted file to the output path
File.WriteAllBytes("output.pdf", response.File);

Document Conversion API | .NET Cloud API | GroupDocs.Conversion Cloud | REST API | Document Conversion | Auto-detect Formats | Watermarking API | Multi-Format Output | Batch Document Conversion | PDF Conversion | Custom Conversion Options | Page-by-Page Conversion | Font Replacement | OCR Support | Metadata Extraction | Document Merge | Storage API | Document Information API | Document Load Options | Multi-Language Support | Cloud Storage Integration | SDKs for .NET, Java, Python | Secure API Access | Docker Support | Scalable Document Conversion | API Rate Limiting