Salvare DXF

Come salvare un file DXF

Problema: Come salvare un file DXF.

Suggerimenti: Per fare ciò, puoi utilizzare DxfOption, sia binario che normale, nelle opzioni di salvataggio del file.

Esempio:

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