i have a .dxf file if i import that file in my vs code drafting demo wpf sample and if i press a button-1 it should show dimensions of everline present in the viewport. if i press button-2 it should show dimensions of the radius of a every circle present in the viewport.
how can i acheive that
The .dxf file is a DXF (Drawing Interchange Format or Drawing Exchange Format) drawing exchange file.
Here is a simple example of reading a .dxf file:
Read using netDXF:
Write using netDXF: