保存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); | |
} |