Ask me how to get the actual size and height of DXF, etc.
I have observed your comments. I have shared code snippet with you. This will help you to achieve your requirements.
using (CadImage dxfImage = (CadImage)Image.Load(BaseDataPath + dxfFile))
{
Aspose.CAD.Size size = dxfImage.Size;
int Width = dxfImage.Width;
int Height = dxfImage.Height;foreach (CadLayout lt in dxfImage.Layouts.ValuesTyped) { double BottomSize = lt.BottomSize; double LeftSideSize = lt.LeftSideSize; double RightSideSize = lt.RightSideSize; double TopSize = lt.TopSize; CadSize PlotPaperSize = lt.PlotPaperSize; } }
thank you! The problem has been solved!
How can I remove the watermark from DXF to JPG?
I have found your similar inquiry in another thread and have responded that over following link.