Enregistrer un fichier DXF
Contents
[
Hide
]Comment enregistrer un fichier DXF
Problème : Comment enregistrer un fichier DXF.
Conseils : Pour ce faire, vous pouvez utiliser DxfOption, à la fois binaire et normal, dans les options de sauvegarde de fichier.
Exemple :
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); | |
} |