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 και μπορεί να εγκατασταθεί μέσω της κονσόλας διαχείρισης πακέτων εκτελώντας την ακόλουθη εντολή:
PM> NuGet\Install-Package GroupDocs.Conversion-Cloud

Γρήγορη εκκίνηση
Λάβετε τα διαπιστευτήρια API σας
Για να χρησιμοποιήσετε το GroupDocs.Conversion Cloud, εγγραφείτε στο GroupDocs.Cloud Dashboard και λάβετε το Client ID και το Client Secret σας.
Αρχικοποίηση του API
Χρησιμοποιήστε τον ακόλουθο κώδικα για να ξεκινήσετε να χρησιμοποιείτε το GroupDocs.Conversion Cloud SDK για .NET:
// Initialize the API instance
var configuration = new Configuration
{
ClientId = "YourClientId",
ClientSecret = "YourClientSecret"
};
var conversionApi = new ConversionApi(configuration);
Μετατροπή εγγράφου
Μόλις αρχικοποιηθεί, χρησιμοποιήστε αυτό το βασικό παράδειγμα για να μετατρέψετε ένα έγγραφο:
// 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);
Με αυτόν τον οδηγό γρήγορης εκκίνησης, είστε έτοιμοι να ξεκινήσετε τη μετατροπή εγγράφων χρησιμοποιώντας το GroupDocs.Conversion Cloud στις εφαρμογές .NET σας. Για περισσότερες λεπτομέρειες, επισκεφθείτε την τεκμηρίωση.
Μετατροπή εγγράφων μεταξύ διαφόρων μορφών Cloud API
Αυτός ο κώδικας επιτρέπει στους προγραμματιστές να μετατρέπουν έγγραφα μεταξύ διαφόρων μορφών προγραμματιστικά, αποκλείοντας τις χειροκίνητες μετατροπές. Υποστηρίζει πάνω από 50 μορφές αρχείων, καθιστώντας το ιδανικό για προγραμματιστές εφαρμογών που απαιτούν υποστήριξη πολλαπλών μορφών.
// 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);
Μετατροπή συγκεκριμένων σελίδων εγγράφου Cloud API
Αυτό το παράδειγμα δείχνει πώς οι προγραμματιστές μπορούν να μετατρέψουν μόνο συγκεκριμένες σελίδες, εξοικονομώντας χρόνο επεξεργασίας και μειώνοντας το μέγεθος αρχείων όταν απαιτείται μόνο μέρος του εγγράφου.
// 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);
Αυτόματος εντοπισμός μορφών εγγράφων για μετατροπή
Αυτό το απόσπασμα αναδεικνύει τη δυνατότητα μετατροπής εγγράφων ακόμα και όταν η επέκταση αρχείου είναι άγνωστη, καθιστώντας το ιδιαίτερα χρήσιμο για τη διαχείριση αρχείων που ανεβάζουν οι χρήστες όπου οι μορφές ενδέχεται να μην είναι σαφώς καθορισμένες.
// 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