שמירת DXF

איך לשמור קובץ DXF

בעיה: איך לשמור קובץ DXF.

טיפים: בשביל זה, אתה יכול להשתמש ב-DxfOption, גם בפורמט בינרי וגם בפורמט רגיל, באופציות שמירת הקובץ.

דוגמה:

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