Сохранить DXF
Contents
[
Hide
]Как сохранить файл DXF
Проблема: Как сохранить файл DXF.
Советы: Для этого вы можете использовать DxfOption, как бинарный, так и обычный, в опциях сохранения файла.
Пример:
This file contains hidden or 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); | |
} |