Class DxfOptions
İsim alanı : Aspose.Imaging.ImageOptions Toplantı: Aspose.Imaging.dll (25.4.0)
DXF (Drawing Interchange Format) Vektor Görüntü OluşturmaAutoCAD çizim dosyalarını doğru veesneklik. özellikle metin çizgiler ve Bezier ile çalışmak için tasarlanmıştıreğriler, geliştiriciler bu unsurları etkili bir şekilde manipüle edebilir, Bezier sayınnoktalar, ve polilinler için çamurlu ihracat için eğriler dönüştürmek,DXF vektor resimlerinde uyumluluk ve sadakat.
public class DxfOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata, ICloneable
Inheritance
object ← DisposableObject ← ImageOptionsBase ← DxfOptions
Implements
IDisposable , IHasXmpData , IHasMetadata , ICloneable
mirasçı üyeleri
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
Bu örnek Dxf formatına ihracat gösterir
//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
Ne kadar nokta üretmek için dönüştürmek Bezier eğriler polilin, en az 4. Aspose.Imaging.ImageOptions.DxfOptions.TextAsLines ve Aspose.Imaging.ImageOptions.DxfOptions.ConvertTextBeziers hem /// ‘gerçek’ olarak ayarlanmıştır
public byte BezierPointCount { get; set; }
Mülkiyet Değer
ConvertTextBeziers
Aspose.Imaging.ImageOptions.DxfOptions.TextAsLines ‘gerçek’ olarak ayarlandığında çalışır.
public bool ConvertTextBeziers { get; set; }
Mülkiyet Değer
TextAsLines
Metin, polilin (varsayılan olarak) veya düzenlenebilir Autocad TEXT varlıklarından oluşan çevreler olarak ihraç edilmelidir.Eğer bu seçenek
public bool TextAsLines { get; set; }