Class DxfOptions
이름 공간 : Aspose.Imaging.ImageOptions 모임: Aspose.Imaging.dll (25.4.0)
API for Drawing Interchange Format (DXF) 벡터 이미지 만들기 제공AutoCAD 드라이브 파일을 정확하게 생성하기 위한 사용자 정의된 솔루션유연성 : 텍스트 라인과 Bezier와 함께 작업하기 위해 특별히 설계되었습니다.곡선, 개발자는 효율적으로 이러한 요소를 조작 할 수 있습니다, Bezier 계산포인트, 그리고 폴리린으로 곡선을 변환 하 고 무선 수출, 보장DXF 벡터 이미지의 호환성 및 충성도.
public class DxfOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata, ICloneable
Inheritance
object ← DisposableObject ← ImageOptionsBase ← DxfOptions
Implements
IDisposable , IHasXmpData , IHasMetadata , ICloneable
상속 회원들
ImageOptionsBase.Clone() , ImageOptionsBase.ReleaseManagedResources() , ImageOptionsBase.KeepMetadata , ImageOptionsBase.XmpData , ImageOptionsBase.Source , ImageOptionsBase.Palette , ImageOptionsBase.ResolutionSettings , ImageOptionsBase.VectorRasterizationOptions , ImageOptionsBase.BufferSizeHint , ImageOptionsBase.MultiPageOptions , ImageOptionsBase.FullFrame , ImageOptionsBase.ProgressEventHandler , DisposableObject.Dispose() , DisposableObject.ReleaseManagedResources() , DisposableObject.ReleaseUnmanagedResources() , DisposableObject.VerifyNotDisposed() , DisposableObject.Disposed , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
이 예제는 Dxf 형식으로 수출을 보여줍니다.
//Create Image instance and initialize it with an existing image file from disk location
using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(@"input.svg"))
{
Aspose.Imaging.ImageOptions.DxfOptions options = new Aspose.Imaging.ImageOptions.DxfOptions();
options.TextAsLines = true;
options.ConvertTextBeziers = true;
options.BezierPointCount = 20;
image.Save("output.dxf", options);
}
Constructors
DxfOptions()
public DxfOptions()
Properties
BezierPointCount
얼마나 많은 포인트를 생성 할 때 변환 Bezier 곡선 폴리린, 최소 4. Aspose.Imaging.ImageOptions.DxfOptions.TextAsLines 및 Aspose.Imaging.ImageOptions.DxfOptions.ConvertTextBeziers 모두 /// ‘진실’에 설정
public byte BezierPointCount { get; set; }
부동산 가치
ConvertTextBeziers
Aspose.Imaging.ImageOptions.DxfOptions.TextAsLines가 ‘진실’으로 설정되면 작동합니다.
public bool ConvertTextBeziers { get; set; }
부동산 가치
TextAsLines
텍스트가 폴리린 (기본) 또는 편집 가능한 Autocad TEXT 단체로 구성된 컨트로로 수출되어야 하는지 여부.이 옵션이 설정된 경우
public bool TextAsLines { get; set; }