#How to save autocad drawing as pdf pdf
#How to save autocad drawing as pdf how to
The code sample below shows how to implement this feature. NET API can load AutoCAD drawings in DWG format, and convert it to PDF or Raster using fixed size. Exporting DWG to Raster or PDF using Fixed SizeĪspose.CAD for. The code sample below shows how to render a DWG document. NET API now provides a feature to render DWG documents by providing coordinates of the width and height of the document. Render DWG document by specifying coordinatesĪspose.CAD for. The code sample below shows how to convert a specific layout of DWG to PDF. Create an instance of PdfOptions class and set its VectorRasterizationOptions property.Set the Layouts property for the CadRasterizationOptions object.Create an instance of the CadRasterizationOptions class and set the resultant page height and width.Load a DWG file using the factory method.The following AutoCAD primitives are supported. The code sample below shows how to create a single PDF with different layouts. Export the image to PDF using the Image.Save() method.Create an instance of PdfOptions class and set its VectorRasterizationOptions property.Add required LayoutPageSizes for the CadRasterizationOptions object.Create an instance of the CadRasterizationOptions class and set the resultant page height and width.Load a DWG file using the factory method.NET allows you to convert DWG file to a single PDF with different layout sizes. Create Single PDF with Different Layout SizesĪspose.CAD for. The code sample below shows how to export DWG Drawings to PDF. Call Image.Save while passing an object of PdfOptions as the second parameter.Create an object of the PdfOptions class and set the VectorRasterizationOptions property.
Accessing underlay Flags for DWG Format.Support for reading XREF metadata for DWG file.Support for setting print area for DWG image in exported PDF.Support for rounded hidden lines when exporting DWG/DXF to BMP and PDF.