Can Aspose read data like geometry, lengths, layers and coordinates from CAD file
and can Aspose Edit a closed CAD file like creating a point or moving a line or is it used just for viewing and converting.
@ShehabFekry007,
Hi.
You can use Aspose.CAD for reading data from file and editing it. Here is the example how to read DWG file and export it to PDF:
using (CadImage cadImage = (CadImage)Image.Load("fileName.dwg"))
{
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 2000;
rasterizationOptions.PageHeight = 2000;
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save("result.pdf", pdfOptions);
}
Here is the example how to add polyline object to existing CadImage object: Add a polyline|Documentation. Geometric objects and their properties are available in CadImage.Entities collection.