CadRasterizationOptionsPenOptions Property |
Namespace: Aspose.CAD.ImageOptions
using (CadImage cadImage = (CadImage)Image.Load(GetPath(fileName))) { JpegOptions options = new JpegOptions(); var rasterizationOptions = new CadRasterizationOptions(); rasterizationOptions.PenOptions = new PenOptions() { StartCap = LineCap.Square, EndCap = LineCap.Square }; options.VectorRasterizationOptions = rasterizationOptions; cadImage.Save(outFile, options); }