Diagram PDF Export


https://www.nevron.com/Forum/Topic14435.aspx
Print Topic | Close Window

By Gerak Sandor - 2 Years Ago
Please check this code...

All option set in dialog except the width and height.
Where is my mistake?

  Dim MyPage As New NPdfExporter(NDrawingDocument1) With {
    .Layout = PagedLayout.FitToPages,
    .CompressContents = False,
    .PageRows = 1,
    .PageColumns = 1,
    .Resolution = 300,
    .ZoomPercent = 100,
    .PageSize = New NSizeF(842, 595)
    }
   MyPage.ShowDialog()

The width and height 0....
By Nevron Support - 2 Years Ago
Hello Gerak,

We couldn't figure our what the problem is from your post. Can you please explain what's the issue you are experiencing and send us a sample project that demonstrates it? We will then be able to analyze your code and tell you what's wrong and how to fix it.

Thank you!
By Gerak Sandor - 2 Years Ago
https://www.nevron.com/forum/uploads/images/dc952b26-0151-431b-8415-5cfa.png
Hi,
After my previous code coming this dialog. Not updating the width and height object in page setup....
Thank you
Sandor
By Nevron Support - 2 Years Ago
Thank you for the sample code and the screenshot. We found a bug with the Nevron Diagram's PDF export dialog. The issue is now fixed and the fix will be included in the next service pack of Nevron Vision.

We also recommend you take a look at our latest diagramming solution - NOV Diagram. It contains a lot of improvements and new features such as:
  • better architecture and API
  • cross-platform diagramming component which you can use in Windows (WinForms, WPF), Mac (Xamarin.Mac) and Web (Blazor WebAssembly) applications from single code base.
  • support for multiple pages in a single drawing document
  • ribbon commanding UI
  • much better Visio compatibility
  • support for formula-based smart shapes (like in Visio)
  • many more shapes
  • diagram themes, which makes it very easy to change the look of your diagrams
  • our development efforts
  • and many more
For more information please visit NOV Diagram's web page.