Salvar DXF

Como salvar arquivo DXF

Problema: Como salvar arquivo DXF.

Dicas: Para fazer isso, você pode usar DxfOption, tanto binário quanto normal, nas opções de salvamento do arquivo.

Exemplo:

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