سؤال

I use Roassal graphs in Glamour panes, and I wonder if there is a way to zoom and center the Roassal graph so that it fits entirely into its Glamour pane. Can this be done?

هل كانت مفيدة؟

المحلول

As far as I can tell if you set:

  • realExtent to the size of the window
  • extent as the size of view (all it's elements aka view encompassingRectangle)

an then open a view, it should work

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top