CadRasterizationOptions.PenOptions
CadRasterizationOptions.PenOptions property
Gets or sets the pen options.
public PenOptions PenOptions { get; set; }
Property Value
The pen options.
Examples
Sets up “squared” pen
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);
}
See Also
- class PenOptions
- class CadRasterizationOptions
- namespace Aspose.CAD.ImageOptions
- assembly Aspose.CAD