Aspose.CAD Cloud enables your applications to perform a great range of drawing processing tasks. With Aspose.CAD you can load, save and convert drawings of the following formats: DWG, DXF, DWF, DWFX, DWT, STL, IGS, DGN, OBJ and CF2. Such drawings might be converted into variety of raster and vector formats: BMP, JPEG, J2K, JP2, GIF, PSD, PDF, WMF, SVG, PNG, TIFF. With Aspose.CAD you can modify, convert and render drawings and plots without utilizing Autodesk AutoCAD®. Aspose.CAD Cloud is well documented to help you create your solutions on different platforms. Rich Set of Features Conversions: High quality conversions to variety of raster and vector formats including PNG and PDF. Document Object Model: Programmatic access through a rich API to all drawing elements and formatting allows to modify, extract and replace drawings content. Rendering: Convert whole documents or pages to PDF, XPS or for server-side document generation. Also convert document pages to TIFF, PNG, BMP or EMF images, print or render pages to .NET Graphics. All with high fidelity - exactly like Microsoft Word® would have done it. Performance and Scalability Aspose.CAD Cloud is designed to perform great. You can literally generate thousands of drawing in minutes with Aspose.CAD Cloud and that involves opening a drawing, modifying content and populating it with data and exporting it. Even most of the complex drawings are opened and saved in fractions of a second. Free support for Aspose.CAD Cloud is provided on our support forum: https://forum.aspose.cloud/ and on StackOverflow: https://stackoverflow.com/questions/tagged/aspose.words To use this SDK, you will need App SID and App Key which can be looked up at Aspose Cloud Dashboard (https://dashboard.aspose.cloud/#/apps) (free registration in Aspose Cloud is required for this).
$ dotnet add package Aspose.CAD-CloudAspose.CAD Cloud is a true REST API that enables you to perform a wide range of CAD and BIM drawings processing operations including manipulation, export and conversion in a cloud, with zero initial costs.
This repository contains Aspose.CAD Cloud .NET SDK source code which is written in C#. This SDK allows you to work with Aspose.CAD Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost and gain all benefits of strong types and IDE highlights.
DXF (R12/2007/2010)
Fixed Layout: PDF (as a vector and as a raster) Images: BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, WMF
DWG (13, 14, 2000, 2004), DWG (2010, 2013, 2014), DWG (2015, 2017, 2018), DWT (13, 14, 2000, 2004), DWT (2010, 2013, 2014), DWT (2015, 2017, 2018), DWF, DGN v7, IGES (IGS), PLT, Industry Foundation Classes (IFC), STereoLithography (STL)
See API Reference for full API specification.
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get (recommended). For more details, please visit our .
To use Aspose CAD for Cloud .NET SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
From the command line:
nuget install Aspose.CAD-Cloud From Package Manager:
PM> Install-Package Aspose.CAD-Cloud From within Visual Studio:
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
var cadApi = new CadApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
using (FileStream file = new FileStream(@"C:\files\drawing.dxf", FileMode.Open, System.IO.FileAccess.Read))
{
var msFile = new MemoryStream();
await file.CopyToAsync(msFile);
msFile.Seek(0, System.IO.SeekOrigin.Begin);
var request = new PutDrawingBmpRequest(msFile);
var res = cadApi.PutDrawingBmp(request);
using (FileStream fileStream = new FileStream("result.bmp", FileMode.Create, FileAccess.Write))
{
res.CopyTo(fileStream);
}
}
Tests contain various examples of using the SDK.
All Aspose.CAD for Cloud SDKs, helper scripts and templates are licensed under MIT License.
Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial|