บันทึกไฟล์ DXF

วิธีบันทึกไฟล์ DXF

ปัญหา: วิธีการบันทึกไฟล์ DXF.

เคล็ดลับ: เพื่อทำเช่นนี้ คุณสามารถใช้ DxfOption ทั้งแบบไบนารี่และปกติในตัวเลือกการบันทึกไฟล์.

ตัวอย่าง:

using (var image = Image.Load(inputFile))
{
DxfOptions options = new DxfOptions();
image.Save(outFile, options);
}
using (var image = Image.Load(inputFile))
{
DxfOptions options = new DxfOptions();
options.DxfFileFormat = DxfFileFormat.Binary;
image.Save(outFile2, options);
}
view raw save-dxf.cs hosted with ❤ by GitHub