public class DxfOptions extends ImageOptionsBase implements ITextAsLinesOptions
Class for DXF format output creation options
##Aspose#CAD| Constructor and Description |
|---|
DxfOptions() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getBezierPointCount()
How many points to generate when converting Bezier curves to polylines if OutputMode is Render
|
boolean |
getConvertTextBeziers()
Wether to convert Bezier curves in text outlines to multipoint polylines (converted to 4 points if false) f OutputMode is Render
|
CadFileFormat |
getDxfFileFormat()
Gets or sets the DXF file format.
|
boolean |
getMergeLinesInsideContour()
Gets or sets whether the sequence of polylines forming the contour should be merged into a single polyline.
|
Point3D |
getOriginPosition()
Gets or sets the origin position.
|
boolean |
getPrettyFormatting()
Gets or sets the pretty formatting.
|
FileFormat |
getTargetFormat() |
boolean |
getTextAsLines()
Gets or sets a value indicating whether [text as lines] if OutputMode is Render.
|
DxfOutputVersion |
getVersion()
Version of output DXF format
|
void |
setBezierPointCount(byte value)
How many points to generate when converting Bezier curves to polylines if OutputMode is Render
|
void |
setConvertTextBeziers(boolean value)
Wether to convert Bezier curves in text outlines to multipoint polylines (converted to 4 points if false) f OutputMode is Render
|
void |
setDxfFileFormat(CadFileFormat value)
Gets or sets the DXF file format.
|
void |
setMergeLinesInsideContour(boolean value)
Gets or sets whether the sequence of polylines forming the contour should be merged into a single polyline.
|
void |
setOriginPosition(Point3D value)
Gets or sets the origin position.
|
void |
setPrettyFormatting(boolean value)
Gets or sets the pretty formatting.
|
void |
setTextAsLines(boolean value)
Gets or sets a value indicating whether [text as lines] if OutputMode is Render.
|
void |
setVersion(DxfOutputVersion value)
Version of output DXF format
|
getInterruptionToken, getLayers, getOutputMode, getPalette, getPc3File, getRenderToGraphicsBound, getResolutionSettings, getRotation, getSource, getTimeout, getUserWatermarkColor, getUserWatermarkText, getVectorRasterizationOptions, getXmpData, setInterruptionToken, setLayers, setOutputMode, setPalette, setPc3File, setRenderToGraphicsBound, setResolutionSettings, setRotation, setSource, setTimeout, setUserWatermarkColor, setUserWatermarkText, setVectorRasterizationOptions, setXmpDatapublic final DxfOutputVersion getVersion()
Version of output DXF format
public final void setVersion(DxfOutputVersion value)
Version of output DXF format
public final CadFileFormat getDxfFileFormat()
Gets or sets the DXF file format.
Value: The DXF file format.public final void setDxfFileFormat(CadFileFormat value)
Gets or sets the DXF file format.
Value: The DXF file format.public final boolean getMergeLinesInsideContour()
Gets or sets whether the sequence of polylines forming the contour should be merged into a single polyline.
public final void setMergeLinesInsideContour(boolean value)
Gets or sets whether the sequence of polylines forming the contour should be merged into a single polyline.
public FileFormat getTargetFormat()
getTargetFormat in class ImageOptionsBasepublic final byte getBezierPointCount()
How many points to generate when converting Bezier curves to polylines if OutputMode is Render
public final void setBezierPointCount(byte value)
How many points to generate when converting Bezier curves to polylines if OutputMode is Render
public final boolean getConvertTextBeziers()
Wether to convert Bezier curves in text outlines to multipoint polylines (converted to 4 points if false) f OutputMode is Render
public final void setConvertTextBeziers(boolean value)
Wether to convert Bezier curves in text outlines to multipoint polylines (converted to 4 points if false) f OutputMode is Render
public final boolean getTextAsLines()
Gets or sets a value indicating whether [text as lines] if OutputMode is Render.
Value:true if [text as lines]; otherwise, false.getTextAsLines in interface ITextAsLinesOptionspublic final void setTextAsLines(boolean value)
Gets or sets a value indicating whether [text as lines] if OutputMode is Render.
Value:true if [text as lines]; otherwise, false.setTextAsLines in interface ITextAsLinesOptionspublic final Point3D getOriginPosition()
Gets or sets the origin position.
Value: The origin (start) position of the items in the file By default it set to (0,0,0) For example DxfOptions options = new DxfOptions(); options.OriginPosition = new Point3D(1000, 2000, 3000); //here is shift coordinates image.Save(filename + ".dxf", options); Result image will have items started with coordinates specified in OriginPositionpublic final void setOriginPosition(Point3D value)
Gets or sets the origin position.
Value: The origin (start) position of the items in the file By default it set to (0,0,0) For example DxfOptions options = new DxfOptions(); options.OriginPosition = new Point3D(1000, 2000, 3000); //here is shift coordinates image.Save(filename + ".dxf", options); Result image will have items started with coordinates specified in OriginPositionpublic final boolean getPrettyFormatting()
Gets or sets the pretty formatting.
public final void setPrettyFormatting(boolean value)
Gets or sets the pretty formatting.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.