Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 16, 2022 08:19
Convert DWG to DWF Programmatically in C# .NET
// Load the input DWG file
Image image = Image.Load("sample.dwg");
// Cast the Image class object to CadImage type
CadImage cad = (CadImage)image;
// Save output DWF CAD file
cad.Save(dataDir + "sample.dwf");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment