public class DxfOptions extends ImageOptionsBase
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); }
Constructor and Description |
---|
DxfOptions() |
DxfOptions(DxfOptions imageOptions) |
Modifier and Type | Method and Description |
---|---|
byte |
getBezierPointCount()
How many points to generate when converting Bezier curves to polylines, minimum 4.
|
boolean |
getConvertTextBeziers()
Works when #textAsLines is set to
true . |
boolean |
getTextAsLines()
Whether text should be exported as contours consisting of polylines (default) or as editable Autocad TEXT entities.
|
void |
setBezierPointCount(byte value)
How many points to generate when converting Bezier curves to polylines, minimum 4.
|
void |
setConvertTextBeziers(boolean value)
Works when #textAsLines is set to
true . |
void |
setTextAsLines(boolean value)
Whether text should be exported as contours consisting of polylines (default) or as editable Autocad TEXT entities.
|
deepClone, getBufferSizeHint, getFullFrame, getMultiPageOptions, getPalette, getProgressEventHandler, getResolutionSettings, getSource, getVectorRasterizationOptions, getXmpData, setBufferSizeHint, setFullFrame, setMultiPageOptions, setPalette, setProgressEventHandler, setResolutionSettings, setSource, setVectorRasterizationOptions, setXmpData
close, dispose, getDisposed
public DxfOptions()
public DxfOptions(DxfOptions imageOptions)
public final byte getBezierPointCount()
How many points to generate when converting Bezier curves to polylines, minimum 4. Used when (/) and (/) are both /// set to true
public final void setBezierPointCount(byte value)
How many points to generate when converting Bezier curves to polylines, minimum 4. Used when (/) and (/) are both /// set to true
public final boolean getConvertTextBeziers()
Works when #textAsLines is set to true
. Whether to convert Bezier curves in text contours to multipoint polylines.
public final void setConvertTextBeziers(boolean value)
Works when #textAsLines is set to true
. Whether to convert Bezier curves in text contours to multipoint polylines.
public final boolean getTextAsLines()
Whether text should be exported as contours consisting of polylines (default) or as editable Autocad TEXT entities. If this option set
public final void setTextAsLines(boolean value)
Whether text should be exported as contours consisting of polylines (default) or as editable Autocad TEXT entities. If this option set
Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.