netDxf .net library Read and write AutoCAD dxf files
<p>I try this <a href="https://netdxf.codeplex.com/" rel="nofollow noreferrer">netDxf .net library</a> programmed in C# to read and write AutoCAD dxf files.</p>

<p>I need in this moment only read AutoCAD dxf file from the web server without success because I don't have error but only white and empty webpage.</p>

<p>How to do resolve this ?</p>

<p>Can you help me?</p>

<p>Thank you in advance, my code below.</p>

<pre><code>    DxfDocument allImages = DxfDocument.Load("C:\\inetpub\\wwwroot\\web220000.dxf");
    int counter = 1;
    foreach (netDxf.Entities.Image image in allImages.Images)
    {
        DxfDocument doc = new DxfDocument();
        netDxf.Entities.Image copy = (netDxf.Entities.Image)image.Clone();
        doc.AddEntity(copy);
        string fileName = string.Format("Image{0}.dxf", counter++);
        doc.Save(fileName);
    }
</code></pre>