DXF speichern

Wie man eine DXF-Datei speichert

Problem: Wie man eine DXF-Datei speichert.

Tipps: Dazu können Sie DxfOption verwenden, sowohl binär als auch normal, in den Datei-Speicheroptionen.

Beispiel:

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