Save DXF
Contents
[
Hide
]چگونه فایل DXF را ذخیره کنیم
مسئله: چگونه فایل DXF را ذخیره کنیم.
نکات: برای انجام این کار، میتوانید از DxfOption، هم در حالت باینری و هم نرمال، در گزینههای ذخیره فایل استفاده کنید.
مثال:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |