Sla DXF op

Hoe een DXF-bestand op te slaan

Probleem: Hoe een DXF-bestand op te slaan.

Tips: Om dit te doen, kunt u DxfOption gebruiken, zowel binair als normaal, in de bestandsopslagopties.

Voorbeeld:

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