Packages

 

com.aspose.imaging.imageoptions

Class DxfOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class DxfOptions
    extends ImageOptionsBase
    Code example:

    This example demonstrates export to Dxf format


    
    //Create Image instance and initialize it with an existing image file from disk location
    try (com.aspose.imaging.Image image = com.aspose.imaging.Image.load("input.svg"))
    {
        com.aspose.imaging.imageoptions.DxfOptions options = new com.aspose.imaging.imageoptions.DxfOptions();
        options.setTextAsLines(true);
        options.setConvertTextBeziers(true);
        options.setBezierPointCount((byte)20);
        image.save("output.dxf", options);
    }